Description Usage Arguments Value
Make factor analysis practice data.
1 2 | cleanFactors(nsubjects = 300, nlatent = NA, nvars = NA, ndistract = NA,
noiselevel = 0, garbage = FALSE)
|
nlatent |
Number of latent factors. By default generates a random number of factors between 2 and 6. |
nvars |
Number of measured variables (items) for each latent factor. By default generated a random number of variables for each factor. Assigning a value generates the same number of variables for each factor. |
ndistract |
Number of variable (items) not loading on any factor. |
noiselevel |
An integer to add noise to the structure matrix used to create the factor structure. |
garbage |
A boolean argument used to generate uniform data with some level of noise. |
nsubject |
Number of rows of data to simulate. |
A list of components.
sample |
The sample dataset. |
nlatent |
The number of latent factors used to generate the dataset. |
nvars |
A vector of the number of variables in each factor. |
ndistract |
The number of variables not in the factor structure. |
nsubjects |
The number of subjects in the dataset. |
noiselevel |
The amount of noise added to the factor structure. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.