Ratio labels
label_divMult.Rd
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.
See also
Other labels:
label_centiNel()
,
label_nel()
,
label_percDiff()
,
label_propDiff()
Examples
label_divMult()(c(1:4,2))
#> expression(1, paste(" *", 2), paste(" *", 3), paste(" *", 4),
#> paste(" *", 2))