Learn R Programming

secr (version 4.6.10)

collate: Array of Parameter Estimates

Description

Estimates from one or more openCR models are formed into an array.

Usage

# S3 method for secr
collate(object, ..., realnames = NULL, betanames = NULL, newdata = NULL, 
    alpha = 0.05, perm = 1:4, fields = 1:4)

# S3 method for ipsecr collate(object, ..., realnames = NULL, betanames = NULL, newdata = NULL, alpha = 0.05, perm = 1:4, fields = 1:4)

# S3 method for secrlist collate(object, ..., realnames = NULL, betanames = NULL, newdata = NULL, alpha = 0.05, perm = 1:4, fields = 1:4)

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.

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 collate

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.

See Also

modelAverage, secr.fit

Examples

Run this code

collate (secrdemo.0, secrdemo.b, perm = c(4,2,3,1))[,,1,]

Run the code above in your browser using DataLab