class.plot: A LCGA Model PLotting Function

View source: R/class.plot.R

class.plotR Documentation

A LCGA Model PLotting Function

Description

This function helps you plot predicted latent classes generated by an lcmm model.

Usage

class.plot(model, data, smooth = "none")

Arguments

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?

Examples

class.plot()

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