Description Usage Arguments Value Examples
Extracts the item parameters from a unidimensional mirt model
1 | ExtractMirtPars(mod, focal = NULL, reference = NULL)
|
mod |
A mirt object containing the fit of unidimensional model. |
focal |
Character. Required if mod is MultipleGroupClass, focal should coincide with the label for the focal group. If mod is SingleGroupClass, it is ignored. |
reference |
Character. Required if mod is MultipleGroupClass, reference should coincide with the label for the focal group. If mod is SingleGroupClass, it is ignored. |
If mod contains any itemtype == "gpcm", a list with the item parameters and the estimate covariances (if available). If mod is SingleGroupClass, the list contains the item parameters as a matrix and the covariances as a list. If mod is MultipleGroupClass, the list contains the item parameters and covariances for the focal and reference groups only.
1 2 3 | library(mirt)
(mod1 <- mirt(Science, model = 1, itemtype = c("graded", "graded", "gpcm", "gpcm"), SE = TRUE))
(ExtractMirtPars(mod1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.