simulateNLSEM | R Documentation |
simulate data from lavModel object
simulateNLSEM(
n,
lavModel,
appendLVs = FALSE,
lavModel_attributes = NULL,
matrices = NULL,
seed = NULL
)
n |
sample size |
lavModel |
lavModel object |
appendLVs |
logical whether latent variables should be observed. Default to |
lavModel_attributes |
attributes of the lavModel object. If |
matrices |
computed matrices for simulation. If |
seed |
a seed for reproducability. Default to |
Returns a data.frame
of a simulated NLSEM.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.