View source: R/GetDataFromMirt.R
GetDataFromMirt | R Documentation |
Extracts the data frame used for model fitting from within a 'mirt' object. This function will automatically remove any rows of fake data added by the augmentdata function.
GetDataFromMirt(mirtobj)
mirtobj |
An estimated IRT model (of class SingleGroupClass) estimated either using the function "unimirt" or by applying the function "mirt" directly. |
A matrix of item data.
## Not run:
smallmirt=unimirt(mathsdata[1:10,15:20],"Rasch")
smallmirt@Data$data
GetDataFromMirt(smallmirt)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.