trans_format

0th

Percentile

Format labels after transformation.

Format labels after transformation.

Usage
trans_format(trans, format = scientific_format())
Arguments
trans
transformation to apply
format
additional formatter to apply after transformation
Value

a function with single parameter x, a numeric vector, that returns a character vector of list of expressions

Aliases
  • trans_format
Examples
library(scales) tf <- trans_format("log10", scientific_format()) tf(10 ^ 1:6)
Documentation reproduced from package scales, version 0.4.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.