View source: R/generateHelpers.R
itemResp | R Documentation |
Returns a probabilistic item response, given one ability and one set of item parameters.
itemResp(myAblty, myItem)
myAblty |
A numeric ability. |
myItem |
A single item (a matrix k categories by four (category score, delta dot, tau, discrimination). |
A numeric score, usually an integer in the range 0, 1, 2, ..., k-1. This is taken from the first column of the matrix of item parameters so may also contain a numeric score.
myItem <- matrix(c(0, 0, 0, 0, 1, 1, 0, 1), ncol = 4, byrow = TRUE)
itemResp(0, myItem)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.