simulate data from lavModel object
simulateNLSEM(
n,
lavModel,
appendLVs = FALSE,
lavModel_attributes = NULL,
matrices = NULL,
seed = NULL
)Returns a data.frame of a simulated NLSEM.
sample size
lavModel object
logical whether latent variables should be observed. Default to FALSE. (For developmental purposes)
attributes of the lavModel object. If NULL, this is computed from lavModel. Default to NULL.
computed matrices for simulation. If NULL, this is computed from lavModel and lavModel_attributes. Default to NULL.
a seed for reproducability. Default to NULL.