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"
)
run.models(model.list = NULL, type = NULL, save = TRUE, ...)
None; models are stored in parent frame.
either a vector of model names or NULL to run all MARK
models possibly of a particular type
either a model type (eg "CJS", "Burnham" or "Barker") or NULL for all types
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
Jeff Laake
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.
collect.model.names
, run.mark.model