Learn R Programming

prophet (version 1.0)

fourier_series: Provides Fourier series components with the specified frequency and order.

Description

Provides Fourier series components with the specified frequency and order.

Usage

fourier_series(dates, period, series.order)

Arguments

dates

Vector of dates.

period

Number of days of the period.

series.order

Number of components.

Value

Matrix with seasonality features.