Description Usage Arguments Details Value Author(s) Examples
Converts scientific notation numbers to expressions suitable for pretty printing, by converting an e character to an expression for times-ten-to-the-power-of.
1 | prettye(x)
|
x |
a character vector |
The argument should be a character vector (and is immediately
coerced using as.character
). The return value is
constructed using characters before the āeā as the mantissa and
characters after the āeā as the exponent. Therefore, any
control of the number of digits to be displayed should be performed
using e.g. format
before calling prettye
.
An expression vector. (Generated using sapply with individual expression return values seems to be converted into an expression with multiple elements.)
Toby Johnson Toby.x.Johnson@gsk.com
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.