pars.long | R Documentation |
This is a helper function used to generate custom hypotheses. See the 'adding_hypotheses' vignette.
pars.long(pars, itemtype, from.mirt = FALSE)
pars |
list of parameters. Can also be coefficients from a model fitted by mirt. In this case, the from.mirt argument has to be set to TRUE |
itemtype |
character, type of the item as string, e.g. '2PL' |
from.mirt |
logical, treat as coefficients from a model fitted by mirt if TRUE |
numeric vector
pars = list(a= c(1,1,1),d=c(0,0,0))
pars.long(pars,itemtype='2PL')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.