Read an R object of class ConQuestSys and create a labelled representation of the B matrix (scoring matrix). This maps item response categories to items and dimensions. Returns long data frame, where items are duplicated if they are in many dimensions.
sysToBMatrixDf(mySys, applyLabels =TRUE)
Arguments
mySys: An R object of class ConQuestSys, returned by the function conquestr::ConQuestSys
applyLabels: A bool indicating whether labels (e.g., dimension labels) should be appended.
Returns
A data frame containing R the labelled B matrix.
Examples
myBMatrix <- sysToBMatrixDf(ConQuestSys())## Not run:# if you run the above example you will have the B Matrix from the example system file.str(myBMatrix)## End(Not run)