run.models {RMark} | R 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 |
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.,
|
... |
any additional parameters to be passed to
|
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