Description Usage Arguments Value
The observed state variables (with linear trends removed) are predicted from each person's intercept and each person's partner's concurrent state variable (again with linear trends removed).
1 | indivCoord(basedata, dist0name, dist1name, obsName)
|
basedata |
A dataframe that was produced with the "dataPrep" function. |
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 observed state variables being plotted (e.g., "Emotional Experience"). |
The function returns a list including: 1) the adjusted R^2 for the model for each dyad (called "R2"), 2) the parameter estimates for the model for each dyad (called "paramData", for use in either predicting, or being predicted by, the system variable), and 3) plots of the predicted values against the observed values for each dyad (called "plots"). The plots are also written to the working directory as a pdf file called "coordPlots.pdf"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.