| plot.tsint | R Documentation |
Plot the forecasts produced by crost, tsb,
sexsm, and crost.ma, in two views: per period or over
the lead time.
## S3 method for class 'tsint'
plot(x, view = c("period", "leadtime"), legend = TRUE, ...)
x |
An object of class |
view |
The view to plot:
|
legend |
If |
... |
Additional arguments passed to |
No return value, called for the plot.
Nikolaos Kourentzes, nikolaos@kourentzes.com
crost, plot.imapa.
fit <- crost(ts.data1, h=3, type="sba", probs=c(0.9,0.95))
plot(fit)
plot(fit, view="leadtime")
plot(fit, view="leadtime", main="SBA", ylab="Demand over 3 periods")
# The lead time view is also available without quantiles
plot(tsb(ts.data1, h=6), view="leadtime")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.