trimean | R Documentation |
Robust centrality measure estimated as the weighted average of the three quartiles: (Q_1 + 2Q_2 + Q_3) / 4, where Q_1, Q_2 and Q_3 are the first, second and third quartiles respectively.
trimean(x, ...) ## Default S3 method: trimean(x, ...)
x |
numeric vector |
... |
further arguments passed to or from other methods. |
trimean (numeric value of length 1).
trimean(default)
: Tukey's trimean
https://en.wikipedia.org/wiki/Trimean
stopifnot(trimean(0:100) == mean(0:100)) stopifnot(trimean(0:100) == median(0:100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.