getIntern: Generic Extraction Function

Description Usage Arguments Value See Also Examples

Description

Extracts internals from a GPPM.

Usage

1
getIntern(gpModel, quantity)

Arguments

gpModel

object of class GPPM.

quantity

character string. Name of the quantity to extract. Possible values are

  • "parsedmFormula" for the parsed mean formula

  • "parsedcFormula" for the parsed covariance formula

  • "stanData" for the data set in the form needed for rstan

  • "stanModel" for the created rstan model

  • "stanOut" for the created stan output

Value

The requested quantity

See Also

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

Examples

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

karchjd/gppmr documentation built on May 14, 2019, 8:05 a.m.