Holidays-package: Supplies holiday data to the TimeWarp package.

Description Note Author(s) See Also Examples

Description

This package is a data-only package that registers holidays with the TimeWarp package. The package has no visible functions or data; it works by calling registerHolidays() from its .onLoad() function.

Note

To create a package with custom holidays (or updated holidays for the holiday series defined in here), either modify the source code of this package, or copy commands from R/holidays.R into a new package.

Author(s)

Jeffrey Horner, Lars Hansen, Tony Plate

Maintainer: Tony Plate tplate@acm.org

See Also

From the TimeWarp package: holidays, registerHolidays, allHolidays.

Examples

1
2
3
# View counts of registered holidays by year
sapply(as.character(1998:2012), function(y)
       sapply(allHolidays(), function(h) length(holidays(y, h, silent=TRUE))))


Search within the Holidays package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.