Learn R Programming

tabula (version 1.6.1)

mutator: Get or Set Parts of an Object

Description

Getters and setters to extract or replace parts of an object.

Usage

get_index(x)

get_method(x)

get_order(x)

# S4 method for HeterogeneityIndex get_index(x)

# S4 method for EvennessIndex get_index(x)

# S4 method for RichnessIndex get_index(x)

# S4 method for DiversityIndex get_method(x)

Arguments

x

An object from which to get or set element(s).

Value

An object of the same sort as object with the new values assigned.

See Also

Other mutator: subset()