fitList.oSCR: Create a fitList for Convenient Summarization

View source: R/fitList.oSCR.R

fitList.oSCRR Documentation

Create a fitList for Convenient Summarization

Description

Organizes multiple fitted model objects into a list that can be used for summarizing multiple models, model selection or for model-averaged prediction. The latter is not yet implemented

Usage

fitList.oSCR(x, rename = F, drop = NULL)

Arguments

x

A list of fitted models. List elements can be named.

rename

An option that, if TRUE, will generate model-specific names using details from the fitted model object. Default is FALSE which use the existing names of the list. If the list un-named, models are numbered in the order they appear in the list x. If rename = TRUE, the model names are extracted from the model object and are displayed in the following order: Density, D(), baseline detection, p(), sigma, sig(), and assymetric space use model, asu(). The dot notation "." is the null model.

drop

An option to drop the name of a particular model component. For example, drop=1 will remove the D() part of the name, drop=2 will remove the p() part of the name, etc. Not yet operational.

Author(s)

Chris Sutherland csutherland@umass.edu

Examples

data(rbs)
rbs.sf <- subFrame(rbs$scrFrame,c(1,2))
rbs.ss <- list(rbs$ssDF[[1]],rbs$ssDF[[2]])

rbs.0 <- oSCR.fit(rbs.sf, list(D~1, p0~1, a1~1), rbs.ss, trimS=2)
rbs.Dsite <- oSCR.fit(rbs.sf, list(D~session, p0~1, a1~1), rbs.ss, trimS=2)
rbs.Pday <- oSCR.fit(rbs.sf, list(D~session, p0~day, a1~1), rbs.ss, trimS=2)
rbs.Pday2 <- oSCR.fit(rbs.sf, list(D~session, p0~day+day2, a1~1), rbs.ss, trimS=2)

fl <- fitList.oSCR(list(rbs.0,rbs.Dsite,rbs.Pday,rbs.Pday),rename=T)

jaroyle/oSCR documentation built on Sept. 23, 2023, 12:46 p.m.