conRelPlot | R Documentation |
This function takes a fitted mirt-model and visualizes a conditional reliability curve. Heavily inspired by code from Phil Chalmers (author or 'mirt')
conRelPlot(
model,
theta_range = c(-4, 4),
color = "red",
title = "Conditional Reliability"
)
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 "Conditional Reliability") |
a ggplot
library(mirt)
library(ggmirt)
data <- expand.table(LSAT7)
(mod <- mirt(data, 1))
conRelPlot(mod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.