Learn R Programming

gppm (version 0.3.0)

getData: Data Set

Description

Extracts the data set from a GPPM.

Usage

getData(gpModel)

Value

The data set associated with the GPPM.

Arguments

gpModel

object of class GPPM.

See Also

Other functions to extract from a GPPM: SE(), coef.GPPM(), confint.GPPM(), covFun(), fitted.GPPM(), getIntern(), logLik.GPPM(), maxNObs(), meanFun(), nObs(), nPars(), nPers(), nPreds(), parEsts(), pars(), preds(), vcov.GPPM()

Examples

Run this code
# \donttest{
data("demoLGCM")
lgcm <- gppm(
  "muI+muS*t", "varI+covIS*(t+t#)+varS*t*t#+(t==t#)*sigma",
  demoLGCM, "ID", "y"
)
myData <- getData(lgcm)
# }

Run the code above in your browser using DataLab