model_escapement: Model salmon escapement using photo and video counts

View source: R/analysis.R

model_escapementR Documentation

Model salmon escapement using photo and video counts

Description

Model salmon escapement using photo and video counts

Usage

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

## Not run: 
model_escapement(input = "./data/derived/dat.Rdata")

## End(Not run)

mccrea-cobb/akulara documentation built on Nov. 14, 2024, 4:17 a.m.