fastMedian | R Documentation |
Compute the sample median with a fast C++ implementation.
fastMedian(x)
x |
a numeric vector. |
The sample median.
Functionality for removing observations with missing values is currently not implemented.
Andreas Alfons
fastMAD
, median
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.