ggicc {tabledown} | R Documentation |
A Function for Creating Publication Quality Item Response Theory based item characteristic plot.
Description
This function will create publication worthy Item Response Theory based item characteristic plot using ggplot2 from objects created from mirt pack. Using ggplot2 will enable the user to modify the item characteristic plot.
Usage
ggicc(model, item, theta)
Arguments
model |
A mirt package fitted object. |
item |
Item number (i.e. 1,2,3,4). |
theta |
Theta range. Put only one number. Theta =3 will be considered as theta range (-3 to 3). |
Value
A publication quality item characteristic plot. Output object is a ggplot object.
Examples
data <- tabledown::Rotter[, 11:31]
model <- mirt::mirt(data, model = 1, itemtype = '2PL', SE = TRUE, Se.type = 'MHRM')
plot <- tabledown::ggicc(model, 1, 3)
[Package tabledown version 1.0.0 Index]