
Cat
Object SlotsGetter methods to access slots of a Cat
object.
# S4 method for Cat
getModel(catObj)# S4 method for Cat
getGuessing(catObj)
# S4 method for Cat
getDiscrimination(catObj)
# S4 method for Cat
getDifficulty(catObj)
# S4 method for Cat
getAnswers(catObj)
# S4 method for Cat
getIds(catObj)
# S4 method for Cat
getPriorName(catObj)
# S4 method for Cat
getPriorParams(catObj)
# S4 method for Cat
getLowerBound(catObj)
# S4 method for Cat
getUpperBound(catObj)
# S4 method for Cat
getEstimation(catObj)
# S4 method for Cat
getEstimationDefault(catObj)
# S4 method for Cat
getSelection(catObj)
# S4 method for Cat
getZ(catObj)
# S4 method for Cat
getLengthThreshold(catObj)
# S4 method for Cat
getSeThreshold(catObj)
# S4 method for Cat
getInfoThreshold(catObj)
# S4 method for Cat
getGainThreshold(catObj)
# S4 method for Cat
getLengthOverride(catObj)
# S4 method for Cat
getGainOverride(catObj)
An object of class Cat
These functions return the respective slot from Cat object.
Montgomery, Jacob M., and Erin L. Rossiter. "So many questions, so little time: Integrating adaptive inventories into public opinion research." Journal of Survey Statistics and Methodology (2019).
# NOT RUN {
## Loading ltm Cat object
data(ltm_cat)
## Getting estimation slot before and after change
getEstimation(ltm_cat)
setEstimation(ltm_cat) <- "MAP"
getEstimation(ltm_cat)
## Getting discrimination slot before and after change
getDiscrimination(ltm_cat)
setDiscrimination(ltm_cat) <- rep(1, 40)
getDiscrimination(ltm_cat)
# }
Run the code above in your browser using DataLab