View source: R/scale_y_quantile.R
scale_y_quantile | R Documentation |
Set the y axis scale to continuous with quantile breaks
scale_y_quantile(val, prob = seq(0, 1, 0.25), digits = 1, ...)
val: |
the column to calculate breaks from, ie mtcars$mpg |
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 ggplot2 scale
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.