Learn R Programming

prophet (version 0.4)

plot_weekly: Plot the weekly component of the forecast.

Description

Plot the weekly component of the forecast.

Usage

plot_weekly(m, uncertainty = TRUE, weekly_start = 0)

Arguments

m

Prophet model object

uncertainty

Boolean to plot uncertainty intervals.

weekly_start

Integer specifying the start day of the weekly seasonality plot. 0 (default) starts the week on Sunday. 1 shifts by 1 day to Monday, and so on.

Value

A ggplot2 plot.