run.models: Runs a set of MARK models

View source: R/run.models.R

run.modelsR Documentation

Runs a set of MARK models

Description

Runs either a collection of models as defined in model.list or runs all defined MARK object models in the frame of the calling function with no output (model.list=NULL) or just those of a particular type (e.g., type="CJS")

Usage

run.models(model.list = NULL, type = NULL, save = TRUE, ...)

Arguments

model.list

either a vector of model names or NULL to run all MARK models possibly of a particular type

type

either a model type (eg "CJS", "Burnham" or "Barker") or NULL for all types

save

if TRUE, the R data directory is saved (i.e., save.image()) between analyses to enable interruption without losing analyses that have already been run

...

any additional parameters to be passed to run.mark.model

Details

The model names in model.list must be in the frame of the function that calls run.models. If model.list=NULL or the MARK models are collected from the frame of the calling function (the parent). If type is specified only the models of that type (e.g., "CJS") are run. In each case the models are run and saved in the parent frame.

Value

None; models are stored in parent frame.

Author(s)

Jeff Laake

See Also

collect.model.names, run.mark.model


RMark documentation built on Aug. 14, 2022, 1:05 a.m.

Related to run.models in RMark...