Description Usage Arguments Value Examples
Plots the bivariate state variable's clo model-predicted temporal trajectories for each latent profile of clo parameters.
1 2 3 4 5 6 7 8 9 10 11 |
prepData |
A dataframe that was produced with the "dataPrep" function. |
paramEst |
A dataframe created by indivClo containing the clo parameter estimates for each dyad. |
n_profiles |
The number of latent profiles. |
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"). |
minMax |
An optional vector with desired minimum and maximum quantiles to be used for setting the y-axis range on the plots, e.g., minMax <- c(.1, .9) would set the y-axis limits to the 10th and 90th percentiles of the observed state variables. If not provided, the default is to use the minimum and maximum observed values of the state variables. |
time_length |
An optional value specifying how many time points to plot across. Default is the 75th percentile for the observed time variable. |
printPlots |
If true (the default) plots are displayed on the screen. |
The function returns the plots as a list.
1 | # See vignettes for examples.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.