powered by
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
equLenNumber(x, silent = FALSE, callFrom = NULL, debug = FALSE)
character vector formated as equal number of characters per value
(caracter) input vector
(logical) suppress messages
(character) allow easier tracking of messages produced
(logical) additional messages for debugging
sprintf
equLenNumber(c(12,-3,321)) equLenNumber(c(12,-3.3,321))
Run the code above in your browser using DataLab