coerce an object of type "numeric"
as.mynumeric(x)
x
A vector
x=c("1,200","2","3.5") x=factor(3:1) x=c(1:3,"tt") as.mynumeric(x)