re.plot | R Documentation |
This function helps you plot predicted latent classes generated by a newly-specified lcmm model. This function is meant to work in tandem with the other package functions in which columns names for new data sets are specified by the package functions.
re.plot(df_stacked, link, ng, smooth = "none")
df_stacked |
enter data set with multiple rows for each ID. |
link |
enter link function to use in lcmm model specification. |
ng |
enter number of latent classes you would like to search for. |
smooth |
would you like the plot to smooth (using loess) the time-varying outcome for each latent class? |
re.plot()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.