plot_item {IRTest} | R Documentation |
Plot of item response functions
Description
This function draws item response functions of an item of the fitted model.
Usage
plot_item(x, item.number = 1, type = NULL)
Arguments
x |
A model fit object from either |
item.number |
A numeric value indicating the item number. |
type |
A character string required if |
Value
This function returns a plot of item response functions.
Author(s)
Seewoo Li cu@yonsei.ac.kr
Examples
# A preparation of dichotomous item response data
data <- DataGeneration(N=500, nitem_D = 10)$data_D
# Analysis
M1 <- IRTest_Dich(data)
# Plotting item response function
plot_item(M1, item.number = 1)
[Package IRTest version 2.0.0 Index]