View source: R/text_util.bare.R
sci_fmt_pm | R Documentation |
plotmath
Form Convert numbers formatted as ASCII scientific notation (e.g., "1.2e-01")
into plotmath
form that will display the exponent as "10" with a
superscript. This is an internal function not intended to be called by
package users.
sci_fmt_pm(x)
x |
A character vector. Each element should contain text representing a single number. Those elements for which the text indicates a number in scientific notation will be converted. |
A character vector with the same length as x
. Any elements that
are to be treated as plotmath
expressions will begin with the
characters MATH_
plotmath
, paste_text
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.