Learn R Programming

prophet (version 1.0)

plot_seasonality: Plot a custom seasonal component.

Description

Plot a custom seasonal component.

Usage

plot_seasonality(m, name, uncertainty = TRUE)

Arguments

m

Prophet model object.

name

String name of the seasonality.

uncertainty

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

Value

A ggplot2 plot.