label_divMult: Ratio labels

View source: R/ratioScales.R

label_divMultR Documentation

Ratio labels

Description

Ratio labels

Usage

label_divMult(logscale = FALSE, base = exp(1), slashStar = TRUE)

Arguments

logscale

Logical, are breaks provided on the log scale (default is FALSE)?

base

a positive or complex number: the base with respect to which logarithms are computed. Defaults to e=exp(1).

slashStar

Logical, should division and multiplication symbols be "*" and "/" (default)? Prettier symbols \times, \div are available when slashStar == FALSE, but font libraries and text size may make distinguishing \div from + difficult.

Value

Function for generating labeling expressions based on breaks

See Also

Other labels: label_centiNel(), label_nel(), label_percDiff(), label_propDiff()

Examples

label_divMult()(c(1:4,2))


mikeroswell/ratioScales documentation built on July 18, 2024, 6:36 p.m.