sysToBMatrixDf | R Documentation |
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)
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.