Learn R Programming

RMark (version 3.0.0)

run.models: 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, ...)

Value

None; models are stored in parent frame.

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

Author

Jeff Laake

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.

See Also

collect.model.names, run.mark.model