collate {secr} | R Documentation |
Array of Parameter Estimates
Description
Estimates from one or more openCR models are formed into an array.
Usage
## S3 method for class 'secr'
collate(object, ..., realnames = NULL, betanames = NULL, newdata = NULL,
alpha = 0.05, perm = 1:4, fields = 1:4)
## S3 method for class 'ipsecr'
collate(object, ..., realnames = NULL, betanames = NULL, newdata = NULL,
alpha = 0.05, perm = 1:4, fields = 1:4)
## S3 method for class 'secrlist'
collate(object, ..., realnames = NULL, betanames = NULL, newdata = NULL,
alpha = 0.05, perm = 1:4, fields = 1:4)
Arguments
object |
secr or secrlist object |
... |
other secr objects |
realnames |
character vector of real parameter names |
betanames |
character vector of beta parameter names |
newdata |
optional dataframe of values at which to evaluate models |
alpha |
alpha level for confidence intervals |
perm |
permutation of dimensions in output from |
fields |
vector to restrict summary fields in output |
Details
collate
extracts parameter estimates from a set of fitted secr
model objects.
fields
may be used to select a subset of summary
fields ("estimate","SE.estimate","lcl","ucl") by name or number.
Value
A 4-dimensional array of model-specific parameter estimates. By default, the dimensions correspond respectively to
rows in
newdata
(usually sessions),models,
statistic fields (estimate, SE.estimate, lcl, ucl), and
parameters ("phi", "sigma" etc.).
It often helps to reorder the dimensions with the perm
argument.
See Also
Examples
collate (secrdemo.0, secrdemo.b, perm = c(4,2,3,1))[,,1,]