setters: Methods for Setting Value(s) to 'Cat' Object Slots

settersR Documentation

Methods for Setting Value(s) to Cat Object Slots

Description

Setter methods to control changes to the slots of a Cat object.

Usage

## S4 replacement method for signature 'Cat'
setGuessing(catObj) <- value

## S4 replacement method for signature 'Cat'
setDiscrimination(catObj) <- value

## S4 replacement method for signature 'Cat'
setDifficulty(catObj) <- value

## S4 replacement method for signature 'Cat'
setAnswers(catObj) <- value

## S4 replacement method for signature 'Cat'
setIds(catObj) <- value

## S4 replacement method for signature 'Cat'
setModel(catObj) <- value

## S4 replacement method for signature 'Cat'
setPriorName(catObj) <- value

## S4 replacement method for signature 'Cat'
setPriorParams(catObj) <- value

## S4 replacement method for signature 'Cat'
setLowerBound(catObj) <- value

## S4 replacement method for signature 'Cat'
setUpperBound(catObj) <- value

## S4 replacement method for signature 'Cat'
setEstimation(catObj) <- value

## S4 replacement method for signature 'Cat'
setEstimationDefault(catObj) <- value

## S4 replacement method for signature 'Cat'
setSelection(catObj) <- value

## S4 replacement method for signature 'Cat'
setZ(catObj) <- value

## S4 replacement method for signature 'Cat'
setLengthThreshold(catObj) <- value

## S4 replacement method for signature 'Cat'
setSeThreshold(catObj) <- value

## S4 replacement method for signature 'Cat'
setGainThreshold(catObj) <- value

## S4 replacement method for signature 'Cat'
setInfoThreshold(catObj) <- value

## S4 replacement method for signature 'Cat'
setLengthOverride(catObj) <- value

## S4 replacement method for signature 'Cat'
setGainOverride(catObj) <- value

Arguments

catObj

An object of class Cat

value

The new value(s)

Author(s)

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

See Also

Cat-class, getters

Examples

## Loading ltm Cat object
data(ltm_cat)

## Setting estimation slot
getEstimation(ltm_cat)
setEstimation(ltm_cat) <- "MAP"
getEstimation(ltm_cat)

## Setting distrimination slot
getDiscrimination(ltm_cat)
setDiscrimination(ltm_cat) <- rep(1, 40)
getDiscrimination(ltm_cat)


catSurv documentation built on Dec. 4, 2022, 1:15 a.m.

Related to setters in catSurv...