Whether a string vector can be converted to numeric
beNumeric(x)
x
A string vector
x=c("age","22.5","11/2") beNumeric(x)