I am new to R and reading 19 variables (Import_1 to Import_19) from a CSV file x <- (as.data.frame(final_data[,c(15:33)]))
When I summarized one variable I got following display (possibly character variable)
Import_1
EXTREMELY IMPORTANT-10:177
09 :176
08 : 89
07 : 45
06 : 15
05 : 6
04 : 3
03 : 3
02 : 3
NOT AT ALL IMPORTANT-01 : 2
Now I need to convert these 19 variables into numeric 1-10 values, so that I can do regression. Let me know how can I do that.