extract | R Documentation |
Group-based Subset
extract(object, ...)
## S4 method for signature 'CompositionMatrix'
extract(object, name)
object |
A |
... |
Currently not used. |
name |
A |
A CompositionMatrix
object.
N. Frerebeau
Other subsetting methods:
bind
,
split()
,
subset()
## Data from Aitchison 1986
data("slides")
head(slides)
## Coerce to compositional data
coda <- as_composition(slides, groups = 2)
groups(coda)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.