Visualize a fitted bridge() model either as an in-sample fit or as a
forecast with prediction intervals.
Arguments
- x
A
"bridge"object returned bybridge().- type
Plot type. Use
"forecast"to plot the observed target history together with the bridge forecast, or"fit"to compare the observed target to the in-sample fitted values.- level
Forecast interval level passed to
forecast.bridge()whentype = "forecast".- history_n
Number of historical target observations to display. Defaults to the most recent
50. Set toNULLto show the full history.- xlab, ylab, main
Optional axis and title labels. When omitted, sensible defaults are chosen from
type.- ...
Additional arguments passed to
theme_bridgr().
