Learn R Programming

prophet (version 0.4)

plot_yearly: Plot the yearly component of the forecast.

Description

Plot the yearly component of the forecast.

Usage

plot_yearly(m, uncertainty = TRUE, yearly_start = 0)

Arguments

m

Prophet model object.

uncertainty

Boolean to plot uncertainty intervals.

yearly_start

Integer specifying the start day of the yearly seasonality plot. 0 (default) starts the year on Jan 1. 1 shifts by 1 day to Jan 2, and so on.

Value

A ggplot2 plot.