Skip to contents

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

Usage

get_method(x)

# S4 method for class 'DiversityIndex'
labels(object, ...)

# S4 method for class 'RarefactionIndex'
labels(object, ...)

# S4 method for class 'DiversityIndex'
get_method(x)

Arguments

object, x

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

...

Currently not used.

Value

  • labels() returns a suitable set of labels from an object for use in printing or plotting.

See also

Other mutators: data.frame

Author

N. Frerebeau