fastMedian {ccaPP} | 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
set.seed(1234) # for reproducibility x <- rnorm(100) fastMedian(x)