This funciton standardizes the length of the category or species numbers e.g.,(numbers of 33, 440, and 1 are converted to 033, 440, and 001)
numbers0(x)
x | x is a string of all the numbers you are interested in 'standardizing'. |
---|
numbers0(x = c(1,14,302))
#> [1] "001" "014" "302"