Description Usage Arguments Value
View source: R/plot_functions.R
Plots combined forecast model and all indivdual models using plotly
.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
actuals |
A tsibble object containing the known, historical, values |
y |
column containing the historical values |
combo |
A fable object with the forecast values |
mods |
An optional fable object with values from individual forecasts |
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 |
pi |
If |
fc_line |
A string which Sets the dash style of the forecast lines. Valid options are: "solid", "dot", "dash", "longdash", "dashdot", or "longdashdot" |
A plotly
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.