modSel.oSCR | R Documentation |
A method for producing an AIC ordered model table and a table of model specific coefficients values.
modSel.oSCR(x)
x |
An object of class "oSCR.fitList" created by the function fitList.oSCR |
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)
ms <- modSel.oSCR(fl)
ms
ms$aic
ms$coef
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.