Description Usage Arguments Value Note See Also Examples
This function is to determine the Date object in x are public holidays in Hong Kong
1 | is.hkHoliday(x, push = TRUE, withSunday = TRUE)
|
x |
Vector of Date object |
push |
Boolean, to push the public holidays in Sunday to the nearest workday |
withSunday |
Boolean, also included all Sundays as public holidays |
logical vector
very slow despite memoisation is used
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.