mcQ.generate: Generation of Plausible and Proper Q-matrix with Coded...

View source: R/mcQ.generate.R

mcQ.generateR Documentation

Generation of Plausible and Proper Q-matrix with Coded Distractors

Description

This function generates a useful and proper Q-matrix based on a dichotomous Q-matrix.

Usage

mcQ.generate(H, Q)

Arguments

H

The number of maximal attributes required by the items. H takes values 3, 4, 5, or 6.

Q

The dichotomous Q-matrix that the MC Q-matrix is based on

Value

The function returns

mcq

The useful and proper Q-matrix with coded distractors

key

The keys of the MC items

H_star

The number of coded options


NPCDTools documentation built on Sept. 1, 2026, 1:08 a.m.