Hello Rstudio community,
I have Data that reach from age 18-70. Now i want to subset it into groups that reach from 20-25, 25-30 and so on.
Data20 <- subset(Data, Age <=18 & !>25 )
Data25 <-subset(Data,Age <=25 & !>30)
which creates the error unexpected token.
How do I solve this ?