View source: R/align.around.decimal.point.r
| align.around.decimal.point | R Documentation |
Pads a vector of numeric values so that the decimal is at the same ordinal location.
align.around.decimal.point(x, sep = '\\.', len)
x |
A vector of numbers. |
sep |
The decimal separator. |
len |
The total character width desired in the formatted field. |
A character vector with members of length len, with sep located in the same position
of each member.
align.around.decimal.point(c(1,100, 0.01))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.