powered by
Group-based Subset
extract(object, ...)# S4 method for CompositionMatrix extract(object, name)
# S4 method for CompositionMatrix extract(object, name)
A CompositionMatrix object.
CompositionMatrix
Currently not used.
A character vector specifying the group of object to extract.
character
object
N. Frerebeau
Other subsetting methods: bind, split(), subset()
bind
split()
subset()
## Data from Aitchison 1986 data("slides") head(slides) ## Coerce to compositional data coda <- as_composition(slides, groups = 2) groups(coda)
Run the code above in your browser using DataLab