simulateExampleData | R Documentation |
simulate data for a simple CFA model
simulateExampleData(
N = 100,
loadings = c(rep(1, 5), rep(0.4, 5), rep(0, 5)),
percentMissing = 0
)
N |
number of persons in the data set |
loadings |
loadings of the latent variable on the manifest observations |
percentMissing |
percentage of missing data |
data set for a single-factor CFA.
y <- lessSEM::simulateExampleData()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.