| genResponsesCpp | R Documentation |
genResponses)Loops over cases (outer) and items (inner), drawing one uniform deviate per non-missing case-item pair, in the same order as the original R implementation.
genResponsesCpp(
abilities,
itemParams,
itemDim,
perturbItems,
perturbIdx,
perturbCase
)
abilities |
A cases by dimensions NumericMatrix. |
itemParams |
A list of item matrices (see |
itemDim |
An IntegerVector (1-based), the ability column for each item. |
perturbItems |
A list of perturbed item matrices. |
perturbIdx |
An IntegerVector of length |
perturbCase |
A cases by |
A cases by items NumericMatrix of responses.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.