group_subset(object,...)## S4 method for signature 'GroupedComposition'group_subset(object, which)## S4 method for signature 'GroupedLogRatio'group_subset(object, which)
Arguments
object: A GroupedComposition object.
...: Currently not used.
which: A character vector specifying the groups of object to extract.
Returns
A CompositionMatrix object.
Examples
## Data from Aitchison 1986data("slides")## Coerce to compositional datacoda <- as_composition(slides, groups =2)## Grouping metadatagroup_levels(coda)group_names(coda)group_indices(coda)group_rows(coda)group_length(coda)group_size(coda)
See Also
Other grouping methods: group(), group_metadata, group_split()