I am new in R and I am trying to covert a column of my data frame which is text into numeric because I want to create scatterplot with class and values.
I am using the following command but is not working:
md$class = as.numeric(md$class)
Can anyone help me?