Pads text on the left or right so that the width is the same for each element of the vector
Source:R/formating.R
num_pad.Rd
Pads text on the left or right so that the width is the same for each element of the vector
Examples
num_pad(c("a", "bb"))
#> [1] " a" "bb"