Learn R Programming

tabledown (version 1.0.0)

ggreliability_plotly: A Function for Creating Item Response Theory based reliability plot based on plotly.

Description

This function will create Item Response Theory based based reliability plot with standard error using ggplot2 and plotly from objects created from mirt pack. Using ggplot2 will enable the user to modify the Item plot.

Usage

ggreliability_plotly(dataframe, model)

Value

A publication quality reliability plot (dashed line). Output object is a ggplot object.

Arguments

dataframe

your data.

model

A mirt package fitted object.

Examples

Run this code
data <- tabledown::Rotter[, 11:31]
model <- mirt::mirt(data, model = 1, itemtype = '2PL')

plot <- ggreliability_plotly(data, model)

Run the code above in your browser using DataLab