This is a wrapper for the %within% operator from the lubridate package.
You can create an Interval object using as_interval().
Arguments
- dates
A vector of dates.
- interval
An
Intervalobject representing the date range, or something that can be coerced to anIntervalobject usingas_interval().