quantile_trans: A transformation function to be used in ggplot2 scales

View source: R/quantile_trans.R

quantile_transR Documentation

A transformation function to be used in ggplot2 scales

Description

A transformation function to be used in ggplot2 scales

Usage

quantile_trans(val, prob, digits)

Arguments

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 scale that is untransformed but has breaks specified by quantiles


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