plotDataByProfile | R Documentation |
Plots of de-trended observed variable over time, with dyads separated into groups based on LPA profile membership.
plotDataByProfile( prepData, fullData, n_profiles, dist0name = NULL, dist1name = NULL, plot_obs_name = NULL, printPlots = T )
prepData |
A dataframe created by the dataPrep function. |
fullData |
A dataframe created by the makeFullData function. |
n_profiles |
The number of profiles that were estimated. |
dist0name |
An optional name for the level-0 of the distinguishing variable (e.g., "Women"). Default is dist0. |
dist1name |
An optional name for the level-1 of the distinguishing variable (e.g., "Men"). Default is dist1. |
plot_obs_name |
An optional name for the observed state variable to appear on plots (e.g., "Emotional Experience"). |
printPlots |
If true (the default) plots are displayed on the screen. |
A list of plots.
# See vignettes for examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.