plotly_smooth: Plot a smoothed forecast

Description Usage Arguments Value

View source: R/plot_functions.R

Description

Plot a forecast with smoothed trend line using plotly.

Usage

1
2
3
4
5
6
7
8
plotly_smooth(
  .data,
  title = "Combined forecast model",
  xtitle = "Date",
  ytitle = "Number",
  width = 1200,
  height = 400
)

Arguments

.data

A data frame containing the historical and forecast values

title

A string with the plot title.

xtitle

A string with the x-axis title.

ytitle

A string with the y-axis title.

width

Width in pixels

height

Height in pixels

Value

A plotly object


bgulbis/fcasthelpr documentation built on Sept. 29, 2020, 11:52 p.m.