genData: Generate IRT data

View source: R/gen_data.r

genDataR Documentation

Generate IRT data

Description

Generate IRT data

Usage

genData(eta, ipar)

Arguments

eta

a matrix indicating individual true latent traits

ipar

a dataframe containing item parameters

Details

This generates GRM response data

Value

a data frame containing graded response model data

Examples


ipar <- genIRTpar(20, ncat = 3, 2)
eta <- genTheta(50, 2)
genData(eta, ipar)


GRShiny documentation built on May 4, 2023, 1:07 a.m.