generate: Generate data from a fitted psychonetrics object

Description Usage Arguments Value Author(s)

View source: R/f_conveneince_generate.R

Description

This function will generate new data from the estimated mean and variance-covariance structure of a psychonetrics model.

Usage

1
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


psychonetrics documentation built on Oct. 26, 2021, 1:06 a.m.