Description Usage Arguments Examples
safe_median()
works stats::median()
but warns if some elements of ...
are never used.
1 2 3 4 | safe_median(x, ...)
## S3 method for class 'numeric'
safe_median(x, ..., na.rm = TRUE)
|
x |
Numeric vector |
... |
Additional arguments passed on to methods. |
na.rm |
For numeric method, should missing values be removed? |
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.