I’ve read the documentation and I’ve tried googling it; it should be a simple thing, but it would seem it’s not to me; so I boldly go forth and ask if someone here could exp
I guess you want it like this:
library(nycflights13) library(dplyr) flights %>% filter(between(month,7,9))
I see in the meantime this solution also appeared in the comments.