Given the following
group
0
1
2
3
4
5
6
7
8
9
10
What is an elegant way to create a new column level
to make data look like the following
group level
0 none
1 low
2 low
3 low
4 med
5 med
6 med
7 high
8 high
9 high
10 very_high
my current solution is to input each of the values in mutate
. Is there a better way?