generate {psychonetrics} | R Documentation |
Generate data from a fitted psychonetrics object
Description
This function will generate new data from the estimated mean and variance-covariance structure of a psychonetrics model.
Usage
generate(x, n = 500)
Arguments
x |
A |
n |
Number of cases to sample per group. |
Value
A data frame with simulated data
Author(s)
Sacha Epskamp
[Package psychonetrics version 0.13 Index]