scientific_format

0th

Percentile

Scientific formatter.

Scientific formatter.

Usage
scientific_format(digits = 3, ...)

scientific(x, digits = 3, ...)

Arguments
digits
number of significant digits to show
...
other arguments passed on to format
x
a numeric vector to format
Value

  • a function with single paramater x, a numeric vector, that returns a character vector

Aliases
  • scientific
  • scientific_format
Examples
scientific_format()(1:10)
scientific_format()(runif(10))
scientific_format(digits = 2)(runif(10))
scientific(1:10)
scientific(runif(10))
scientific(runif(10), digits = 2)
Documentation reproduced from package scales, version 0.2.4, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.