Description Usage Arguments Value Note Author(s) See Also Examples
Compute the sample median with a fast C++ implementation.
1 | fastMedian(x)
|
x |
a numeric vector. |
The sample median.
Functionality for removing observations with missing values is currently not implemented.
Andreas Alfons
1 2 3 | set.seed(1234) # for reproducibility
x <- rnorm(100)
fastMedian(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.