powered by
The check function used for optimizing to get quantiles
checkfun(a, tau)
vector to compute quantiles for
between 0 and 1, ex. .5 implies get the median
numeric value
# NOT RUN { x <- rnorm(100) x[which.min(checkfun(x, 0.5))] ##should be around 0 # }
Run the code above in your browser using DataLab