I am trying to use the cut function in R to group a list of values between 620-290. I am using this line of code
mutate(group_no = cut(n,50))
The output is this. Is it possible to modify the range to be 1-100,101-200,201-300. The whole idea for this is to make it easy to represent the data in a graph which is 1024 long. Happy to try a different approach if anyone can suggest anything.