Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fitY

Marginal predictions of the longitudinal outcome(s) in their natural scale from lcmm, Jointlcmm or multlcmm objects


Description

The function computes the marginal predictions of the longitudinal outcome(s) in their natural scale on the individual data used for the estimation from lcmm, Jointlcmm or multlcmm objects.

Usage

fitY(x)

Arguments

x

an object inheriting from classes lcmm or multlcmm.

Value

For lcmm and Jointlcmm objects, returns a matrix with ng+1 columns containing the subject identifier and the ng class-specific marginal predicted values.

For multlcmm objects, returns a matrix with ng+2 columns containing the subject identifier, the outcome indicator and the ng class-specific predicted values.

Author(s)

Cecile Proust-Lima, Viviane Philipps

See Also


lcmm

Extended Mixed Models Using Latent Classes and Latent Processes

v1.9.2
GPL (>= 2.0)
Authors
Cecile Proust-Lima, Viviane Philipps, Amadou Diakite and Benoit Liquet
Initial release
2020-07-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.