difficulty_plot {CTTvis}R Documentation

item_difficulty_visualization

Description

plotting results of item difficulty analysis from the Classical test theory framework

Usage

difficulty_plot(
  responses,
  title = "Item Difficulty",
  easyFlag = 0.9,
  hardFlag = 0.5
)

Arguments

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

Value

A data frame sorted by item difficulty in ascending order. A plot of item difficulty in relation to the specified threshold.

Examples


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)


[Package CTTvis version 0.1.1 Index]