| maxNObs | R Documentation |
Extracts the maximum number of observations per person from a GPPM.
maxNObs(gpModel)
gpModel |
object of class GPPM. |
Maximum number of observations as a numeric.
Other functions to extract from a GPPM:
SE(),
coef.GPPM(),
confint.GPPM(),
covFun(),
fitted.GPPM(),
getData(),
getIntern(),
logLik.GPPM(),
meanFun(),
nObs(),
nPars(),
nPers(),
nPreds(),
parEsts(),
pars(),
preds(),
vcov.GPPM()
data("demoLGCM")
lgcm <- gppm(
"muI+muS*t", "varI+covIS*(t+t#)+varS*t*t#+(t==t#)*sigma",
demoLGCM, "ID", "y"
)
maxNumberObs <- maxNObs(lgcm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.