powered by
Return the latest date in the quarter fop the values in `dates`
last_in_quarter(dates)
A sequence of dates in `as.Date()` format
Last day of the quarter
# NOT RUN { dates <- seq.Date(from = as.Date("2020-09-11"), by = "day", length.out = 10) last_in_quarter(dates) # }
Run the code above in your browser using DataLab