[r] Change the class from factor to numeric of many columns in a data frame