monthplot(x, type="l", labels=<<see below>>, xlab="", ylab=deparse(substitute(x)))
sabl
or
stl
.
Missing values are not accepted.
"l"
(the default)
means connected lines,
"h"
means vertical lines (high density
plot) and
"p"
means points.
frequency(x)
is 12;
frequency(x)
is 4;
1
to
frequency(x)
, for all other cases.
x
.
The series
x
is broken into
frequency(x)
subseries, e.g.,
the January subseries, the February subseries,
etc .The plot shows variation about the midmean (25% trimmed mean)
of each subseries.
Cleveland, W. S. and Terpenning, I. J. (1982). Graphical Methods for Seasonal Adjustment. Journal of the American Statistical Association 77, 52-62.
fit <- sabl(hstart) monthplot(window(fit$seasonal, end=end(hstart))) monthplot(fit$seasonal, type="h", main="Seasonal Component of Housing Starts")