Learn R Programming

openCR (version 2.2.6)

openCRlist: Bundle openCR Models

Description

Fitted models are bundled together for convenience.

Usage

openCRlist (...)
# S3 method for openCRlist
[(x, i)

Value

openCRlist object

Arguments

...

openCR objects

x

openCRlist

i

indices

Details

openCRlist forms a special list (class `openCRlist') of fitted model (openCR) objects. This may be used as an argument of AIC, predict, make.table etc.

Methods are provided for the generic function c and list extraction `['.

See Also

AIC.openCR predict.openCR make.table

Examples

Run this code

if (FALSE) {
fit0 <- openCR.fit (dipperCH)
fitt <- openCR.fit (dipperCH, model=phi~t)
fits <- openCRlist(fit0,fitt)
AIC(fits)
make.table(fits, 'phi')
}

Run the code above in your browser using DataLab