An R Package to calculate time difference between two date time vectors in terms of business hours
bizhours provides a single function bizhours(...) that calculates the difference between two vectors of POSIXct date-time values, that represents the date time from when to calculate the difference and the corresponding date-time values till when to calculate. bizhours uses package bizdays for it's calculation of business days (https://cran.r-project.org/web/packages/bizdays/bizdays.pdf) and for the calendars used.
This package requires package bizdays. Install bizdays using the following code:
Install bizhours package through:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.