Refits the detection functions to the resampled data

Description

Fits all the models named in model.names to the associated data supplied in ddf.dat.working. If more than one model is supplied for any species the model with the minimum selection crieteria will be selected.

Usage

1
2
fit.ddf.models(ddf.dat.working, model.names, ddf.models, criterion,
  bootstrap.ddf.statistics, rep.no, MAE.warnings)

Arguments

ddf.dat.working

list of dataframes containing the data to which the models will be fitted

model.names

list of unique character vectors giving the names of the ddf objects for each species.

ddf.models

a list of ddf objects

criterion

character option specifying the model selection criteria - "AIC", "AICc" or "BIC".

bootstrap.ddf.statistics

array storing parameter estimates

rep.no

numeric value indicating iteration number

MAE.warnings

character vector of warning messages

Value

list of ddf objects

Note

Internal function not intended to be called by user.

Author(s)

Laura Marshall

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.