# NOT RUN {
plot(x = item(b = 0.3, D = 1))
item <- item(a = 1.2, b = 0.3, c = .2)
plot(item)
plot(item(a = 1.2, b = 0.3, c = .2, d = .89, D = 1))
# Plot Graded Response Model
ip <- item(a = 0.902, b = c(-1.411, 0.385, 1.79), model = "GRM")
plot(ip)
plot(ip, category_names = c("Strongly Disagree", "Disagree", "Agree",
"Strongly Agree"))
ip <- item(a = 0.8, b = 1, model = "GRM")
plot(ip, category_names = c("Incorrect", "Correct"), legend_title = "Response")
# # Change the y-axis label
# plot(ip, suppress_plot = TRUE) + ylab("New Label")
# }
Run the code above in your browser using DataLab