Returns the number of business days between dates in a given vector of dates.
a vector containing the dates to be differenced
the calendar's name
A 'numeric' vector of length 'n-1' (where 'n' is the input vector length), containing the business days computed between pairs of dates.
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.
dates <- c("2017-05-10", "2017-05-12", "2017-05-17") bizdiff(dates, "Brazil/ANBIMA")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.