powered by
Empirical sample quantile. Calculate empirical sample quantile.
qsamp(x, q)
A numeric vector, specifying the sample for which the quantile is to be calculated.
A real number between 0 and 1 inclusive, specifying the desired quantile.
The empirical quantile of the provided sample.
# NOT RUN { x<-rnorm(100) qsamp(x, 0.5) # }
Run the code above in your browser using DataLab