Crunch Multiple Response variables identify one or more categories as "selected". These methods allow you to get or set which categories should indicate a selection.
# S4 method for Categories
is.selected(x)# S4 method for Categories
is.selected(x) <- value
# S4 method for Category
is.selected(x) <- value
Categories or a single Category
A logical vector indicating whether the category should be selected.
For a single category the value should be either TRUE
or FALSE
to change the
selection status for a Categories
object, supply a logical vector which is the
same length as the number of categories.
Getters return a logical vector indicating selection status. Setters return
the Categories
or Category
object, duly modified.