Getters and setters to extract or replace parts of an object.
Usage
get_method(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.