class.plot | R Documentation |
This function helps you plot predicted latent classes generated by an lcmm model.
class.plot(model, data, smooth = "none")
model |
enter lcmm model. |
data |
enter data set (complete with multiple ID and predicted class rows). |
smooth |
would you like ggplot to smooth (using loess) time-varying outcome for each class? |
class.plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.