label_scientific()
These functions are kept for backward compatibility; you should switch
to label_scientific()
for new code.
scientific_format(
digits = 3,
scale = 1,
prefix = "",
suffix = "",
decimal.mark = ".",
trim = TRUE,
...
)scientific(
x,
digits = 3,
scale = 1,
prefix = "",
suffix = "",
decimal.mark = ".",
trim = TRUE,
...
)
Number of digits to show before exponent.
A scaling factor: x
will be multiplied by scale
before
formatting. This is useful if the underlying data is very small or very
large.
Symbols to display before and after value.
The character to be used to indicate the numeric decimal point.
Logical, if FALSE
, values are right-justified to a common
width (see base::format()
).
Other arguments passed on to base::format()
.