Hey Comm, I tried to convert factors in my dataset to numeric, aside the intended result that I got, it converted all blanks in the dataset to NA. How best do I convert factors to numeric or integer.
df[data] <- lapply(df[data], function(x) as.numeric(as.character(x)))