Learn R Programming

formattable (version 0.2.1)

scientific: Numeric vector with scientific format

Description

Numeric vector with scientific format

Usage

scientific(x, format = c("e", "E"), ...)

Arguments

x

a numeric vector.

format

format type passed to formatC.

...

additional parameter passed to formattable.

Examples

Run this code
# NOT RUN {
scientific(1250000)
scientific(1253421, digits = 8)
scientific(1253421, digits = 8, format = "E")
# }

Run the code above in your browser using DataLab