generate: Generate data from a fitted psychonetrics object

View source: R/f_conveneince_generate.R

generateR 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


psychonetrics documentation built on June 8, 2025, 1:08 p.m.