ikcirt.rndData1: Random Data

Description Usage Arguments Value Author(s) Examples

View source: R/ikcirt.rndData1.R

Description

Generate a random realization of a minimally defined k-Cube Thurstonian IRT Model. Probably no need for user to call; called by kcirt.sim.

Usage

1
ikcirt.rndData1(N, qTypes, mxDelta, ns)

Arguments

N

Number of observational units.

qTypes

Is a question to be fully ranked or most/least format. A character vector whose length is the number of blocks. Each element in 'R', 'M'.

mxDelta

Delta matrix.

ns

Response dimensions. A vector of length equal to the number of questions, each element giving the number of items in the question.

Value

Ranked Data matrix.

Author(s)

Dave Zes, Korn/Ferry International

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
constructMap.ls <- list(
c(1,2),
c(2,3),
c(1,3)
)

qTypes <- rep("R", length(constructMap.ls))

mod <- kcirt.model(constructMap.ls=constructMap.ls, qTypes=qTypes, mxLambda=NULL)

N <- 50
set.seed(99999)
mod <- kcirt.sim(model=mod, N=N)

ikcirt.rndData1(N=N, qTypes=qTypes, mxDelta=mod$mxDelta, ns=mod$ns)

kcirt documentation built on May 2, 2019, 4:16 a.m.