Retrieves or defines the groups to which the observations belong.
Usage
any_assigned(x)
is_assigned(x)
get_groups(x)
set_groups(x) <- value
# S4 method for CompositionMatrix
is_assigned(x)
# S4 method for LogRatio
is_assigned(x)
# S4 method for OutlierIndex
is_assigned(x)
# S4 method for CompositionMatrix
any_assigned(x)
# S4 method for LogRatio
any_assigned(x)
# S4 method for OutlierIndex
any_assigned(x)
# S4 method for CompositionMatrix
get_groups(x)
# S4 method for LogRatio
get_groups(x)
# S4 method for OutlierIndex
get_groups(x)
# S4 method for CompositionMatrix
set_groups(x) <- value
Value
set_groups()
returns an object of the same sort asx
with the new group names assigned.get_groups()
returns acharacter
vector giving the group names ofx
.any_assigned()
returns alogical
scalar specifying whether or notx
has groups.is_assigned()
returns alogical
vector specifying whether or not an observation belongs to a group.
Details
See vignette("nexus")
.
See also
Other mutators:
identifiers
,
samples
,
split()
,
subset()
,
totals