
Plot a fitted piecewise ensemble curve, with confirmed partition points
Source:R/plotting.R
plot_piecewise_fit.RdPlot a fitted piecewise ensemble curve, with confirmed partition points
Arguments
- fit
A
piecewise_fitobject.- ci
Optional data frame with columns
time,lower,upper(e.g. built by callingensemble_bootstrap_ci()per segment and row-binding the results) to draw as a shaded confidence band.- forecast_from
Optional time beyond which a dashed vertical line marks the start of an out-of-sample forecast window.