Learn R Programming

openCR (version 2.2.6)

collate: Array of Parameter Estimates

Description

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

Usage

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

# S3 method for openCRlist 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

openCR or openCRlist objects

...

other openCR 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

fields

vector to restrict summary fields in output

Details

collate extracts parameter estimates from a set of fitted openCR 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.openCR, make.table