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


SachaEpskamp/psychonetrics documentation built on Sept. 1, 2023, 3:40 a.m.