quantile | R Documentation |
Sample Quantiles
## S4 method for signature 'CompositionMatrix'
quantile(x, ..., probs = seq(0, 1, 0.25), na.rm = FALSE, names = TRUE)
x |
A |
... |
Currently not used. |
probs |
A |
na.rm |
A |
names |
A |
A numeric
matrix.
N. Frerebeau
Filzmoser, P., Hron, K. & Reimann, C. (2009). Univariate Statistical Analysis of Environmental (Compositional) Data: Problems and Possibilities. Science of The Total Environment, 407(23): 6100-6108. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.scitotenv.2009.08.008")}.
Other statistics:
aggregate()
,
condense()
,
covariance()
,
dist
,
mahalanobis()
,
margin()
,
mean()
,
pip()
,
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.