This function adds leading digits in a vector
Usage
add_digits(x, digit = 0, seq_length)
Arguments
- x
A charecter vector.
- digit
The leading digit to be added.
- seq_length
required length of sequence of numbers.
Examples
add_digits("(31) 9-8932-1010", 0, 12)
#> [1] "031989321010"