View source: R/quantile_breaks.R
quantile_breaks | R Documentation |
Get a vector of quantile values from a vector
quantile_breaks(value, prob, digits = 1)
prob: |
a sequence of probability values, ie c(0, 0.5, 1) or seq(0, 1, 0.25) |
digits: |
number of digits to round the quantiles to |
a vector of quantile values rounded to a specified number of digits
quantile_breaks(1:10, c(0,0.5,1), 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.