mean | R Documentation |
Compositional Mean
## S4 method for signature 'CompositionMatrix'
mean(x, ...)
x |
A |
... |
Further arguments to be passed to internal methods. |
Closed vector of the columns geometric means.
A numeric
vector.
N. Frerebeau
Aitchison, J. (1986). The Statistical Analysis of Compositional Data. London: Chapman and Hall, p. 64-91.
Other statistics:
aggregate()
,
condense()
,
covariance()
,
dist
,
mahalanobis()
,
margin()
,
pip()
,
quantile()
,
scale()
,
variance()
,
variance_total()
,
variation()
## Data from Aitchison 1986
data("hongite")
## Coerce to compositional data
coda <- as_composition(hongite)
## Mean
mean(coda)
## Quantile
quantile(coda)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.