powered by
Compute the sample median with a fast C++ implementation.
fastMedian(x)
The sample median.
a numeric vector.
Andreas Alfons
fastMAD, median
fastMAD
median
set.seed(1234) # for reproducibility x <- rnorm(100) fastMedian(x)
Run the code above in your browser using DataLab