itemInfoPlot | R Documentation |
This function takes a fitted mirt-model and visualizes items information curves.
itemInfoPlot(
model,
items = NULL,
facet = FALSE,
title = "Item Information Curves",
theta_range = c(-4, 4),
legend = FALSE
)
model |
an object of class |
items |
numerical vector indicating which items to plot. |
facet |
Should all items be shown in one plot, or each item received its individal facet? |
title |
title for the plot (defaults to "Item Characteristic Curves") |
theta_range |
range to be shown on the x-axis |
a ggplot
library(mirt)
library(ggmirt)
data <- expand.table(LSAT7)
(mod <- mirt(data, 1))
itemInfoPlot(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.