point_biserial_plot: point_biserial_visualization

View source: R/point_biserial_plot.R

point_biserial_plotR Documentation

point_biserial_visualization

Description

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

Usage

point_biserial_plot(
  responses,
  title = "Item Discrimination",
  pBis_threshold = 0.2
)

Arguments

responses

A dichotompus item response object (a dataframe or a matrix)

title

Title of the plot

pBis_threshold

Threshold of the point-biserial correlation (pBis)

Value

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

Examples


data(dichotomous_response)

# To plot item discrimination with pBis threshol of .20.

point_biserial_plot(responses = dichotomous_response,
      title = "Item Discrimination Plot", pBis_threshold = 0.20)


CTTvis documentation built on April 3, 2025, 11:05 p.m.