I have a draft.status column with c(d-2, d-1, d, d+1, d+2, d+3) but when i use the code below I get an arranged column of d+3, d+2, d+1, d-1, d-2, d. I would like the arranged column to be: d+3, d+2, d+1, d, d-1, d-2. Any help is appreciated....
I have a tibble that has multiple columns that I group_by, summarise, and then filter (my code is in the original post) and then I want to arrange in the order of:
d+3
d+2
d+1
d
d-1
d-2
The code in the original post will arrange in:
d+3
d+2
d+1
d-2
d-1
d
Your sample data wasn't grouped so I had no way to know that in advance, to avoid this kind of issues next time make your question with a self-contained REPRoducible EXample (reprex)
If your question's been answered, would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: