sysToBMatrixDf {conquestr} | R Documentation |
Read an R object of class ConQuestSys and create a labelled representation of the B matrix (scoring matrix). This maps item response catagories to items and dimensions. Returns long data frame, where items are duplicated if they are in many dimnsions.
sysToBMatrixDf(mySys, applyLabels = TRUE)
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. |
A data frame containing R the labelled B matrix.
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)