Learn R Programming

crunch (version 1.25.0)

$,AbstractCategory-method: Access Category fields directly

Description

Don't do this. Instead, use the category setters.

Usage

# S4 method for AbstractCategory
$(x, name)

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

Arguments

x

a Category

name

a field within x

value

a value for that field to update

Value

$ returns the value of the desired field. Setter returns x duly modified.

See Also

describe-category