Description Usage Arguments Value Author(s) Examples
View source: R/ikcirt.rndData1.R
Generate a random realization of a minimally defined k-Cube Thurstonian IRT Model. Probably no need for user to call; called by kcirt.sim
.
1 | ikcirt.rndData1(N, qTypes, mxDelta, ns)
|
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. |
Ranked Data matrix.
Dave Zes, Korn/Ferry International
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.