fitList.oSCR | R Documentation |
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
fitList.oSCR(x, rename = F, drop = NULL)
x |
A list of fitted models. List elements can be named. |
rename |
An option that, if |
drop |
An option to drop the name of a particular model component. For example, |
Chris Sutherland csutherland@umass.edu
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.