pad0 {PBSmodelling} | R Documentation |
Takes numbers, converts them to integers then text, and pads them with leading zeroes.
pad0(x, n, f = 0)
x |
Vector of numbers |
n |
Length of padded integer |
f |
Factor of 10 to expand x by |
A character vector representing x with leading zeros.