simulateNLSEM {powerNLSEM} | R Documentation |
simulate data from lavModel object
Description
simulate data from lavModel object
Usage
simulateNLSEM(
n,
lavModel,
appendLVs = FALSE,
lavModel_attributes = NULL,
matrices = NULL,
seed = NULL
)
Arguments
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 |
Value
Returns a data.frame
of a simulated NLSEM.
[Package powerNLSEM version 0.1.1 Index]