data as factor not as number

115 Views Asked by At

I want to use a "Likert" type data set for ML. I changed the data set from strongly disagree, .... to 1 to 5 scale. I want to work on them (for example checking the correlation matrix and feature selection methods.) What should be the data type in R for these purpose? I want that R see the data as label and not as number. What should I do for that? I tried to change it to factor, but it has a lot of variables (columns.) how should i call the .csv that consider the numbers as label/factor not as number.

0

There are 0 best solutions below