filmov
tv
Remove Numbers from Character String in R (Example) | Extract Only Letters from Alphanumeric Data

Показать описание
R code of this video:
my_alphanum <- "aa11b2c33" # Create alphanumeric character string
my_alphanum # Print string
my_alpha <- gsub("[[:digit:]]", "", my_alphanum) # Extract letters
my_alpha # Print letters
Follow me on Social Media:
my_alphanum <- "aa11b2c33" # Create alphanumeric character string
my_alphanum # Print string
my_alpha <- gsub("[[:digit:]]", "", my_alphanum) # Extract letters
my_alpha # Print letters
Follow me on Social Media: