This function is provided for improved performance over the built-in quantile function. Interpolation is performed using the default method 7 specified in documentation for quantile.

wsim_quantile(v, q)

Arguments

v

a vector of numeric values, possibly contining NAs

q

quantile to compute

Value

sample quantile q of v