Learn R Programming

dcmr (version 1.0)

GetRequiredAttributes: Generate required attributes

Description

Generates a matrix of required attributes

Usage

GetRequiredAttributes(qmatrix, pmatrix)

Arguments

qmatrix
a nitems by nattributes matrix that specifies which items are required for mastery of each attribute (i.e., latent variable)
pmatrix
a numeric nclasses by nattributes matrix of all possible attribute profiles

Value

a nclasses by nitems character matrix with Strings representing the required attributes for a given item and class.