I have data points ranging from 432 - 1789. I want to divide this data into 3 equal parts. For example, I should first arrange this in ascending order and then divide into 3 equal parts. and categorize into 'Low', 'Medium' and 'High'
How can I do this in R?
I used this, but I don't think it divided the data correctly,
x$level <- cut(x$newlevels, 3, include.lowest=TRUE, labels=c("Low", "Med", "High"))