I have a vector of business dates:
require(bizdays)
cal <- create.calendar(name='MyCalendar', weekdays=c('sunday', 'saturday'))
startdate = as.Date(Sys.Date()) %m-% years(5) # today minus 5yrs
enddate = as.Date(Sys.Date())
dates = bizseq(startdate,enddate, cal)
Now I want to extract every 6th workday of very month from the dates vector, any ideas how to do this?
Thanks,
Jelle