Learn R Programming

simsem (version 0.2-8)

createData: Create data from model parameters

Description

Create data from model parameters. The data generation can be multivariate normal, copula model, or Bollen-Stine bootstrap model.

Usage

createData(paramSet, n, object, dataOnly)

Arguments

paramSet
The list of parameters used for creating data. This list has one element as the actual parameters and the misspecification parameters.
n
Sample size
object
The data object, SimData
dataOnly
TRUE to create data in data.frame only. FALSE to create data output object, SimDataOut

Value

  • A data.frame or a data output object, SimDataOut

Examples

Run this code
# No example

Run the code above in your browser using DataLab