In order to continue with my preparation of the dataset, I need to make it so the str of each col is numeric instead of chars.
str(eighthr)
'data.frame': 2533 obs. of 74 variables:
$ Date : chr "1/2/1998" "1/3/1998" "1/4/1998" "1/5/1998" ...
$ WSR0 : chr "2.8" "2.9" "4.7" "2.6" ...
$ WSR1 : chr "3.2" "2.8" "3.8" "2.1" ...
$ WSR2 : chr "3.3" "2.6" "3.7" "1.6" ...
$ WSR3 : chr "2.7" "2.1" "3.8" "1.4" ...
$ WSR4 : chr "3.3" "2.2" "2.9" "0.9" ...
$ WSR5 : chr "3.2" "2.5" "3.1" "1.5" ...
How do I convert all rows except $Date?
eighthr <- type.convert(eighthr, as.is = TRUE)Did you meantnumericor` integer<-back