Model salmon escapement using photo and video counts

model_escapement(dat, saveit = FALSE, output)

Arguments

dat

a data frame containing formatted salmon count data returned by import_format()

saveit

whether to save the results as a RData object

output

if saveit = TRUE, the directory path to where to save the returned results

Value

a list containing a list of model output (models), a data frame of associated AIC values (aic_table), and the top model based on AIC (top_model)

Examples

if (FALSE) {
model_escapement(input = "./data/derived/dat.Rdata")
}