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

parse_seasonality_args {prophet} | R Documentation

## 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.

[Package prophet version 1.0 Index]