View source: R/miscellaneous.R
inv_quantile | R Documentation |
inv_quantile
returns the quantile(s) for a specific value or vector of values.
inv_quantile(y, values, digits = NULL)
y |
a numeric vector/variable. |
values |
the values or vector of specific values in y for which you would like the to know the quantiles |
digits |
determines the how many digits the result is rounded to |
Craig P. Hutton, Craig.Hutton@gov.bc.ca
ecdf
, round
y <- c(1:100) inv_quantile(y = y, values = c(2, 25, 50, 75, 95), digits = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.