checkfun | R Documentation |
The check function used for optimizing to get quantiles
checkfun(a, tau)
a |
vector to compute quantiles for |
tau |
between 0 and 1, ex. .5 implies get the median |
numeric value
x <- rnorm(100)
x[which.min(checkfun(x, 0.5))] ## should be around 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.