phone10 {ThomasJeffersonUniv} | R Documentation |
10-digit US phone number
Description
..
Usage
phone10(x, sep = "")
Arguments
x |
|
sep |
character scalar |
Details
Function phone10 converts all US and Canada (+1) phone numbers to 10-digit.
Value
Function phone10 returns a character vector of nchar-10.
Examples
x = c(
'+1(800)275-2273', # Apple
'1-888-280-4331', # Amazon
'000-000-0000'
)
phone10(x)
phone10(x, sep = '-')
[Package ThomasJeffersonUniv version 0.1.3 Index]