View source: R/multiple_model.R
| plot_trajectory_mult | R Documentation |
Plots a grid of longitudinal trajectories for a multivariate model. The grid displays each outcome (rows) and each latent group (columns). Individual trajectories are colored by their assigned group and faded, with the specific group highlighted and its average polynomial curve overlaid.
plot_trajectory_mult(object, lY, lA, assignments, base_colors = NULL)
object |
An object of class |
lY |
List of matrices representing the longitudinal responses. |
lA |
List of matrices representing the time or age of observation. |
assignments |
A matrix of group assignments (e.g., the |
base_colors |
Optional vector of hex colors for the groups. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.