simulateData | R Documentation |
Simulating data from a SEM by drawing from the multivariate normal as described by the model covariance matrix and means vector.
simulateData(model, N, format = "wide")
model |
An OpenMx model. |
N |
Desired sample size. |
format |
Either "long" or "wide". |
Andreas M. Brandmaier
simulateData(
toOpenMx(lgcm(slope.variance=1,
intercept.variance=2, timepoints=0:8), N=100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.