re.plot: A LCGA Model PLotting Function

View source: R/re.plot.R

re.plotR Documentation

A LCGA Model PLotting Function

Description

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.

Usage

re.plot(df_stacked, link, ng, smooth = "none")

Arguments

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?

Examples

re.plot()

noahlorinczcomi/sgmm documentation built on Aug. 23, 2023, 1:28 a.m.