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

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

Arguments

m

Prophet model object.

uncertainty

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

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.

name

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

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.