Skip to contents

Retrieves or defines the unique identifier (eg. laboratory codes) of each observation.

Usage

get_identifiers(x)

set_identifiers(x) <- value

# S4 method for CompositionMatrix
get_identifiers(x)

# S4 method for LogRatio
get_identifiers(x)

# S4 method for OutlierIndex
get_identifiers(x)

# S4 method for CompositionMatrix
set_identifiers(x) <- value

Arguments

x

An object from which to get or set codes.

value

A possible value for the codes of x.

Value

  • set_identifiers() returns an object of the same sort as x with the new identifiers assigned.

  • get_identifiers() returns a character vector giving the unique identifiers of x.

Details

See vignette("nexus").

See also

Other mutators: groups, samples, split(), subset(), totals

Author

N. Frerebeau