bizdayse stands for business days equivalent, it returns the amount
of business days equivalent to a given number of current days.
bizdayse(dates, curd, cal)
the reference dates
the amount of current days
the calendar's name
Let us suppose I have a reference date
dates and I offset that date
curd current days.
bizdayse returns the business days
between the reference date and the new date offset by
This is equivalent to
refdate <- Sys.Date() curd <- 10 newdate <- refdate + 10 # offset refdate by 10 days # this is equals to bizdayse(refdate, 10) bizdays(refdate, newdate)
integer representing an amount of business days.
Date objects and any
object that returns a valid
Date object when passed through
as.Date, which include all
POSIX* classes and
objects with ISO formatted dates.
These arguments handle the recycle rule so a vector of dates and a vector of numbers can be provided and once those vectors differs in length the recycle rule is applied.
bizdayse("2013-01-02", 3, "Brazil/ANBIMA")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.