dexter.to.unimirt | R Documentation |
This function is designed to allow users to fit a Rasch model using the conditional maximum likelihood (CML) procedure but to still have access to all of the interactive graphical displays and other functions that are available in unimirt.
dexter.to.unimirt(dexter.obj = NULL, dexter.dat = NULL)
dexter.obj |
An object derived using the function fit_enorm from the R package dexter. |
dexter.dat |
The data matrix used to fit the model held in dexter.obj. |
Note that model objects derived using the fit_enorm function do not retain the full data set. As a result, the original data needs to be supplied as a second parameter to the conversion function.
## Not run:
raschcml=dexter::fit_enorm(as.matrix(mathsdata[,1:5]))
coef(raschcml)
mirtfromcml=dexter.to.unimirt(raschcml,as.matrix(mathsdata[,1:5]))
MirtTidyCoef(mirtfromcml)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.