Skip to contents

Scale breakpoints based on percentage difference from reference

Usage

label_propDiff(logscale = FALSE, base = 10, accuracy = 0.01)

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

accuracy

Numeric scalar, determines rounding precision

Value

Function used as argument to labels in scale_*_*