View source: R/scaleCharPlot.r
scaleCharPlot | R Documentation |
Once model-based theta score estimates are computed, it often is of interest to transform those estimates into the original scale metric. A scale characteristic function provides a means of transforming estimated theta scores to expected true scores in the original scale metric. This transformation back into the original scale metric provides a more familiar frame of reference for interpreting scores. This function provides a visualization for this transformation.
scaleCharPlot(
model,
theta_range = c(-4, 4),
color = "red",
title = "Scale Characteristic Curve"
)
model |
an object of class |
theta_range |
range to be shown on the x-axis |
color |
color of the line |
title |
title for the plot (defaults to "Person Infit and Outfit Statistics") |
a ggplot
library(mirt)
library(ggmirt)
data <- expand.table(LSAT7)
(mod <- mirt(data, 1))
scaleCharPlot(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.