Functions to plot a time series from the M competition data sets, showing both the training and test sections of the series.
# S3 method for Mdata plot(x, xlim = c(tsp(x$x), tsp(x$xx)), ylim = range(x$x, x$xx), main = x$sn, xlab, ylab = "", ...) # S3 method for Mdata autoplot(object, ...)
A series of M-competition data
Limits on x-axis
Limits on y-axis
Label on x-axis
Label on y-axis
Other plotting arguments passed to
autoplot.Mdata returns a ggplot2 object, while
plot.Mdata returns nothing. Both functions produce a time series plot
of the selected series.