## align
# align bi-weekly with a 3 days offset
(tC <- timeCalendar())
align(tC, by = "2w", offset = "3d")
## alignDaily
# simple to use functions
alignDaily(tC)
alignDaily(tC, include.weekends = TRUE)
# align to end-of-month dates
alignMonthly(tC)
Run the code above in your browser using DataLab