Learn R Programming

examly (version 0.2.0)

q_index: Calculate q-index (1 - p)

Description

A simple helper to calculate the inverse of the p-value (difficulty index).

Usage

q_index(p)

Value

A numeric value or vector (1 - p).

Arguments

p

A numeric value or vector (item difficulty).

Examples

Run this code
q_index(0.8)
q_index(c(0.2, 0.5, 0.7))

Run the code above in your browser using DataLab