R/formatting.R
sci_md.Rd
Scientific notation for markdown
sci_md(x, digits = 2, lb = 0.0095, ub = 99.5, align = FALSE)
Numeric vector
number of digits of precision
lower bound where scientific notation is turned on
upper bound where scientific notation is turned on
decimal align
A character vector
sci_md(c(.0045,1.44, 24567857.45)) #> [1] "4.50×10^−3^" "1.44" "2.46×10^7^"