nPers: Number of persons

Description Usage Arguments Value See Also Examples

Description

Extracts the number of persons from a GPPM.

Usage

1
nPers(gpModel)

Arguments

gpModel

object of class GPPM.

Value

Number of persons as a numeric.

See Also

Other functions to extract from a GPPM: SE, coef.GPPM, confint.GPPM, covf, datas, fitted.GPPM, getIntern, logLik.GPPM, maxnObs, meanf, nObs, nPars, nPreds, parEsts, pars, preds, vcov.GPPM

Examples

1
2
3
4
data("demoLGCM")
lgcm <- gppm('muI+muS*t','varI+covIS*(t+t#)+varS*t*t#+(t==t#)*sigma',
        demoLGCM,'ID','y')
numberPersons <- nPers(lgcm)

gppm documentation built on May 2, 2019, 6:50 a.m.

Related to nPers in gppm...