getters {catSurv}R Documentation

Methods for Accessing Cat Object Slots

Description

Getter methods to access slots of a Cat object.

Usage

## S4 method for signature 'Cat'
getModel(catObj)

## S4 method for signature 'Cat'
getGuessing(catObj)

## S4 method for signature 'Cat'
getDiscrimination(catObj)

## S4 method for signature 'Cat'
getDifficulty(catObj)

## S4 method for signature 'Cat'
getAnswers(catObj)

## S4 method for signature 'Cat'
getIds(catObj)

## S4 method for signature 'Cat'
getPriorName(catObj)

## S4 method for signature 'Cat'
getPriorParams(catObj)

## S4 method for signature 'Cat'
getLowerBound(catObj)

## S4 method for signature 'Cat'
getUpperBound(catObj)

## S4 method for signature 'Cat'
getEstimation(catObj)

## S4 method for signature 'Cat'
getEstimationDefault(catObj)

## S4 method for signature 'Cat'
getSelection(catObj)

## S4 method for signature 'Cat'
getZ(catObj)

## S4 method for signature 'Cat'
getLengthThreshold(catObj)

## S4 method for signature 'Cat'
getSeThreshold(catObj)

## S4 method for signature 'Cat'
getInfoThreshold(catObj)

## S4 method for signature 'Cat'
getGainThreshold(catObj)

## S4 method for signature 'Cat'
getLengthOverride(catObj)

## S4 method for signature 'Cat'
getGainOverride(catObj)

Arguments

catObj

An object of class Cat

Value

These functions return the respective slot from Cat object.

Author(s)

Haley Acevedo, Ryden Butler, Josh W. Cutler, Matt Malis, Jacob M. Montgomery, Tom Wilkinson, Erin Rossiter, Min Hee Seo, Alex Weil

References

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).

See Also

Cat-class, setters

Examples

## 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)



[Package catSurv version 1.5.0 Index]