Description Usage Arguments Value Examples
Calculates the median of a set of numbers. The function sorts the numbers in the vector and selects the middle number (if the number of entries is odd) or takes the average of the two middle numbers (if the number of entries is even).
1 |
input |
a vector of numbers |
na.rm |
true or false for whether to remove NA's before performing the calculation |
A number
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.