I want change the values from range to names. I have three groups and I want to change these values to names like that:
(9.94e+03,6.3e+04] -> high
(6.3e+04,1.16e+05] -> medium
(1.16e+05,1.69e+05] -> low
What i need to add in this code?
dm2 <- mutate(dm1,
Levels.Salary = cut(dm1$Salary,3))