View source: R/difficulty_plot.R
difficulty_plot | R Documentation |
plotting results of item difficulty analysis from the Classical test theory framework
difficulty_plot(
responses,
title = "Item Difficulty",
easyFlag = 0.9,
hardFlag = 0.5
)
responses |
A dichotomous item response object (a dataframe or a matrix) |
title |
Title of the plot |
easyFlag |
threshold of the easy item |
hardFlag |
threshold of the hard item |
A data frame sorted by item difficulty in ascending order. A plot of item difficulty in relation to the specified threshold.
data(dichotomous_response)
# To plot item difficulty with easyFlag of .9 and hardFlag of .5
difficulty_plot(responses = dichotomous_response,
title = "Item Difficulty Plot", easyFlag = .90, hardFlag = .50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.