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 psychonetrics model.

n

Number of cases to sample per group.

Value

A data frame with simulated data

Author(s)

Sacha Epskamp


[Package psychonetrics version 0.12 Index]