calc_item_gaps: Calculate item gaps

View source: R/mirt.R

calc_item_gapsR Documentation

Calculate item gaps

Description

Calculate item gaps

Usage

calc_item_gaps(x, group, return_data_frame = T)

Arguments

x

Item data frame

group

A grouping variable

return_data_frame

Whether you want a data frame back, or just a vector

Value

a data frame or a vector

Examples

set.seed(1)
X = matrix(rbinom(10000, 1, .5), ncol = 10)
group = rbinom(1000, 1, .5)
calc_item_gaps(X, group)

Deleetdk/kirkegaard documentation built on April 27, 2024, 3:26 p.m.