Median and quantile methods for ordered factors.
1 2 3 4 5 6 |
x |
An ordered factor |
na.rm |
logical. If true, any NA and NaN's are removed from |
probs |
numeric vector of probabilities with values in [0,1]. (Values up to 2e-14 outside that range are accepted and moved to the nearby endpoint.) |
left |
logical. If left, then quantiles are calculated as P(X <= x), else P(X > x). |
names |
logical; if true, the result has a names attribute. Set to FALSE for speedup with many probs. |
... |
further arguments passed to or from other methods. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.