I have a data frame with variables that have words in the rows, as well as variables that have numbers in the rows. The problem is that all of the variables are the character class, including the variables that have numbers in the rows. How do I use as.numeric() if I am only trying to apply it to a select number of variables and not all of them in the data frame?
Thanks