prophet/R/man/plot_forecast_component.Rd

27 lines
685 B
Text
Raw Normal View History

2017-08-30 23:17:41 +00:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
2017-08-30 23:17:41 +00:00
\name{plot_forecast_component}
\alias{plot_forecast_component}
\title{Plot a particular component of the forecast.}
\usage{
2018-05-15 17:07:38 +00:00
plot_forecast_component(m, fcst, name, uncertainty = TRUE, plot_cap = FALSE)
2017-08-30 23:17:41 +00:00
}
\arguments{
2018-05-15 17:07:38 +00:00
\item{m}{Prophet model}
2017-08-30 23:17:41 +00:00
\item{fcst}{Dataframe output of `predict`.}
\item{name}{String name of the component to plot (column of fcst).}
\item{uncertainty}{Boolean to plot uncertainty intervals.}
\item{plot_cap}{Boolean indicating if the capacity should be shown in the
figure, if available.}
}
\value{
A ggplot2 plot.
}
\description{
Plot a particular component of the forecast.
}