crunch (version 1.27.7)

var-categories: Get and set Categories on Variables

Description

Get and set Categories on Variables

Usage

categories(x)

categories(x) <- value

# S4 method for VariableTuple categories(x)

# S4 method for CrunchVariable categories(x)

# S4 method for CategoricalVariable categories(x)

# S4 method for CategoricalArrayVariable categories(x)

# S4 method for VariableEntity categories(x)

# S4 method for CategoricalVariable,Categories categories(x) <- value

# S4 method for CategoricalArrayVariable,Categories categories(x) <- value

# S4 method for CategoricalVariable,numeric categories(x) <- value

# S4 method for CategoricalVariable,character categories(x) <- value

# S4 method for CategoricalVariable,ANY categories(x) <- value

# S4 method for CategoricalArrayVariable,numeric categories(x) <- value

# S4 method for CategoricalArrayVariable,character categories(x) <- value

# S4 method for CategoricalArrayVariable,ANY categories(x) <- value

# S4 method for CrunchVariable,ANY categories(x) <- value

Arguments

x

a Variable

value

for the setters, an object of class Categories to set.

Value

Getters return Categories; setters return x duly modified.