ggtestinfo | R Documentation |
This function will create publication worthy Item Response Theory based Test information plot using ggplot2 from objects created from mirt pack. Using ggplot2 will enable the user to modify the Item plot.
ggtestinfo(dataframe, model)
dataframe |
your data. |
model |
A mirt package fitted object. |
A publication quality Test information plot. Output object is a ggplot object.
data <- tabledown::Rotter[, 11:31]
model <- mirt::mirt(data, model = 1, itemtype = '2PL')
plot <- ggtestinfo(data, model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.