equLenNumber | R Documentation |
equLenNumber
convert numeric entry 'x' to text, with all elements getting the same number of characters (ie by adding preceeding or tailing 0s, if needed).
So far, the function cannot handle scientific annotations.
equLenNumber(x, silent = FALSE, callFrom = NULL, debug = FALSE)
x |
(caracter) input vector |
silent |
(logical) suppress messages |
callFrom |
(character) allow easier tracking of messages produced |
debug |
(logical) additional messages for debugging |
character vector formated as equal number of characters per value
sprintf
equLenNumber(c(12,-3,321))
equLenNumber(c(12,-3.3,321))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.