Actually I have solved the problem, but I am trying to find a more elegant solution because the code is slightly It becomes harder to read. Here's what I found:
mydf $ size_class = ifelse (mydf $ absolute_number & lt; = 5, "1-5", ifelse (mydf $ absolute_number> 6 and mydf $ absolute_number Maybe Maybe I need some formatting help / hints, compared to the new code :) - this is also very welcome cut function:
Comments
Post a Comment