Description Usage Arguments Author(s) See Also Examples
A function which randomly generates data with respect to some underlying latent class. Data may be generated either by specifying item and class probabilities or by utilising an object previously fitted to data.
1 |
n |
Number of data points to be generated. |
itemprob |
The item probabilities, conditional on class membership. Defaults to 0.5. |
classprob |
The class probabilities. Defaults to 1, i.e., a one class model. |
fit |
An object of class blca. If fit is supplied, data is generated using the class and item probabilities obtained. Defaults to NULL. |
Arthur White
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.