Produces plots of the state variable's predicted temporal trajectory based on 3 versions of the clo model. The first is the "average" model, with all parameters centered on the sample averages. The other two are specified by the user by providing centering values for any desired parameters. For example, if prior analyses showed that the system variable was predicted by the damping parameter for the level-0 of the distinguishing variable, then a logical pair of models to compare would be one with that parameter centered at a low value, such as 1SD below the mean, and one with it centered at a high value, such as 1SD above the mean. All other parameters would be centered at the sample averages.
1 2 | cloPredTraj(origdata, paramData, paramM1, paramM2, dist0name, dist1name,
obsName, m1Name, m2Name)
|
origdata |
A dataframe produced by the "dataPrep" function. |
paramData |
A dataframe produced by the "indivClo" function. |
paramM1 |
A vector of centering values for the first comparison model. |
paramM2 |
A vector of centering values for the second comparison model. |
dist0name |
A name for the level-0 of the distinguishing variable (e.g., "Women"). |
dist1name |
A name for the level-1 of the distinguishing variable (e.g., "Men"). |
obsName |
A name for the state variable (e.g., "Emotional Experience"). |
m1Name |
A name for the first user-specified model. |
m2Name |
A name for the second user-specified model. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.