Skip to contents

Scale breakpoints based on percentage difference from reference

Usage

label_percDiff(logscale = FALSE, base = 10)

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).

Value

Function used as argument to labels in scale_*_*

See also