Description Usage Arguments Value See Also Examples
The adjust()
function rolls dates to the closest good dates. This function
shifts dates by a given period and adjusting the
resulting dates to a closest good dates following the given business day
convention.
1 2 | shift(dates, period, bdc = "u", calendar = EmptyCalendar(),
eom_rule = TRUE)
|
dates |
a vector of dates to shift and adjust |
period |
an atomic instance of the period class in the sense that only one of its slots should be non-zero. It must also only be a day, month or year period type. |
bdc |
the business day convention used to roll the |
calendar |
an object that inherits from |
eom_rule |
if one of the |
a vector of shifted dates
Other calendar methods: adjust
,
generate_schedule
, is_good
,
is_valid_bdc
, is
,
locale
, tz
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.