add_country_holidays: Add in built-in holidays for the specified country.

add_country_holidaysR Documentation

Add in built-in holidays for the specified country.

Description

These holidays will be included in addition to any specified on model initialization.

Usage

add_country_holidays(m, country_name)

Arguments

m

Prophet object.

country_name

Name of the country, like 'UnitedStates' or 'US'

Details

Holidays will be calculated for arbitrary date ranges in the history and future. See the online documentation for the list of countries with built-in holidays.

Built-in country holidays can only be set for a single country.

Value

The prophet model with the holidays country set.


chris-prener/falseProphet documentation built on April 15, 2022, 12:04 a.m.