draw.plausible.response | R Documentation |
Draw plausible responses based on item parameters
draw.plausible.response(
item.params,
param.type = c("pcm", "log.item.score", "multiplicative", "xsi"),
R = 0,
num.responses = 1
)
item.params |
a matrix of item parameters (items in rows, thresholds in columns) |
param.type |
Type of item parameters. One of pcm (RUMM2030), log.item.score (?), multiplicative (DIGRAM or RDigram, xsi (Conquest or TAM)) |
R |
Total score of the response |
num.responses |
The number of response patterns to return |
Returns a matrix of plausible response patterns
item.params<-matrix(c(1,.5,1,1,1,2,1,4),nrow=4)
draw.plausible.response(item.params=item.params,param.type="multiplicative",R=2,num.responses=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.