Learn R Programming

crunch (version 1.25.0)

name,AbstractCategory-method: Category attributes

Description

Functions to access and set category attributes.

Usage

# S4 method for AbstractCategory
name(x)

# S4 method for AbstractCategory name(x) <- value

# S4 method for `NULL` name(x) <- value

# S4 method for AbstractCategory id(x)

# S4 method for Category value(x)

# S4 method for Category value(x) <- value

# S4 method for Category is.selected(x)

Arguments

x

a Category

value

For the setters, an appropriate value to set

Value

name returns character; value and id return numeric; value but not id may be NA; is.selected returns logical indicating whether this Category is a "selected" dichotomy. Setters return x duly modified.

See Also

Categories dichotomize