I have a simple dataframe containing only numbers
Name = c("A", "B", "C", "D", "E")
Days = c(3,4,5,16,26)
df= data.frame(Name, Days)
I want to create a new column that groups them into their separate label. The logic should go like this:
if Days lesser than 7, "1 Week"
if Days between 7 and 14 , "1-2 Weeks"
if Days between 14 and 30 , "1 Month"