Description Usage Arguments Value
View source: R/plot_functions.R
Plot a forecast with smoothed trend line using plotly
.
1 2 3 4 5 6 7 8 | plotly_smooth(
.data,
title = "Combined forecast model",
xtitle = "Date",
ytitle = "Number",
width = 1200,
height = 400
)
|
.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 |
A plotly
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.