parse_seasonality_args: Get number of Fourier components for built-in seasonalities.

Description Usage Arguments Value

Description

Get number of Fourier components for built-in seasonalities.

Usage

1
parse_seasonality_args(m, name, arg, auto.disable, default.order)

Arguments

m

Prophet object.

name

String name of the seasonality component.

arg

'auto', TRUE, FALSE, or number of Fourier components as provided.

auto.disable

Bool if seasonality should be disabled when 'auto'.

default.order

Int default Fourier order.

Value

Number of Fourier components, or 0 for disabled.


prophet documentation built on March 30, 2021, 5:05 p.m.