group_extract | R Documentation |
Group-based Subset
group_extract(object, ...)
## S4 method for signature 'GroupedComposition'
group_extract(object, which)
object |
A |
... |
Currently not used. |
which |
A |
A CompositionMatrix
object.
N. Frerebeau
Other grouping methods:
group()
,
group_metadata
,
group_split()
## Data from Aitchison 1986
data("slides")
## Coerce to compositional data
coda <- as_composition(slides, groups = 2)
## Grouping metadata
group_levels(coda)
group_names(coda)
group_indices(coda)
group_rows(coda)
group_length(coda)
group_size(coda)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.