Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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, name = "weekly")

Arguments

m

Prophet model object

uncertainty

Optional boolean to plot uncertainty intervals, which will only be done if m$uncertainty.samples > 0.

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.

name

Name of seasonality component if previously changed from default 'weekly'.

Value

A ggplot2 plot.


prophet

Automatic Forecasting Procedure

v1.0
MIT + file LICENSE
Authors
Sean Taylor [cre, aut], Ben Letham [aut]
Initial release
2021-03-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.