scientific_format {scales} | R Documentation |
Scientific formatter.
scientific_format(digits = 3, ...) scientific(x, digits = 3, ...)
digits |
number of significant digits to show |
... |
other arguments passed on to |
x |
a numeric vector to format |
a function with single parameter x, a numeric vector, that returns a character vector
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)