View source: R/scale_x_quantile.R
scale_x_quantile | R Documentation |
Set the x axis scale to continuous with quantile breaks
scale_x_quantile(val, prob = seq(0, 1, 0.25), digits = 1, ...)
val: |
the column to create breaks from, ie mtcars$wt |
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.