scale_x_quantile: Set the x axis scale to continuous with quantile breaks

View source: R/scale_x_quantile.R

scale_x_quantileR Documentation

Set the x axis scale to continuous with quantile breaks

Description

Set the x axis scale to continuous with quantile breaks

Usage

scale_x_quantile(val, prob = seq(0, 1, 0.25), digits = 1, ...)

Arguments

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

Value

a ggplot2 scale


MCMaurer/MCMsBasics documentation built on July 5, 2024, 11:38 p.m.