removeNonNumeric {eatRep} | R Documentation |
Function removes all non-numeric characters from a string.
removeNonNumeric ( string)
string |
a character vector |
a character string
Sebastian Weirich
str <- c(".d1.nh.120", "empty", "110", ".nh.dgd", "only.nh") removeNonNumeric(str)