Learn R Programming

prophet (version 1.0)

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

Description

Get number of Fourier components for built-in seasonalities.

Usage

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.