advanceDate | R Documentation |
Advance a date to the next business day plus an optional shift
advanceDate(rd, days = 0L)
rd |
A Date object describing the date to be advanced to the next business day. |
days |
An optional integer offset applied to the date |
This function takes a given date and advances it to the next business day under the current (global) calendar setting. If an optional offset value is given it is applied as well.
The advanced date is returned
advanceDate(Sys.Date(), 2) # today to the next biz day, plus 2 days
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.