Description Usage Arguments Value Examples
Business Date Functions
1 2 3 4 5 6 7 | business.days.till.end(from, holidays = NULL, fn.ends = date.month.ends)
business.days.since.end(from, holidays = NULL, fn.ends = date.month.ends)
next.business.day(from, holidays = NULL, offset = 0)
last.business.day(from, holidays = NULL, offset = 0)
|
from |
start date |
holidays |
list of holidays, defaults to NULL |
fn.ends |
function that return periods ends, defaults to date.month.ends |
number of business days
1 2 3 4 5 6 7 | ## Not run:
from = as.Date('27Dec2013','%d%b%Y')
holidays = getHolidayList('UnitedStates/NYSE', from-40, from+10)
business.days.till.end(from, holidays)
business.days.since.end(from, holidays)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.