powered by
Whether a string vector can be converted to numeric
beNumeric(x)
A string vector
x=c("age","22.5","11/2") beNumeric(x)
Run the code above in your browser using DataLab