Description Usage Arguments Value Examples
This function takes the outputted object from dyadVarNames() and automatically writes, returns, and exports (.txt) lavaan() syntax for specifying dyadic configural, loading, and intercept invariant measurement models for either a specified X or Y factor.
1 | gclm(xvar, yvar, waves)
|
xvar |
item stem (and delimeter, if present) for x variables |
yvar |
item stem (and delimeter, if present) for y variables |
waves |
number of waves to model (i.e., number following each item stem) |
character object of lavaan script that can be passed immediately to lavaan functions, while also exporting to current working directory
1 | base.model = gclm(xvar = "sacrifice", yvar = "satisfaction", waves = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.