prophet/R/man/plot_forecast_component.Rd
2020-02-09 19:31:44 -08:00

28 lines
751 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot.R
\name{plot_forecast_component}
\alias{plot_forecast_component}
\title{Plot a particular component of the forecast.}
\usage{
plot_forecast_component(m, fcst, name, uncertainty = TRUE,
plot_cap = FALSE)
}
\arguments{
\item{m}{Prophet model}
\item{fcst}{Dataframe output of `predict`.}
\item{name}{String name of the component to plot (column of fcst).}
\item{uncertainty}{Optional boolean to plot uncertainty intervals, which will
only be done if m$uncertainty.samples > 0.}
\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.
}