plot_trend: Trend Diagnostic Plot for an stlplus Object

Description Usage Arguments Value References See Also

Description

Plots the trend+remainder with the trend component overlaid, and the remainder component in a separate panel.

Usage

1
2
3
4
5
plot_trend(x, xlab = "Time", ylab = "Trend", span = 0.3, type = c("p",
  "l"), scales = list(y = list(relation = "free")), lwd = c(1, 1),
  col = c("darkgray", "black", "darkgray"), layout = c(1, 2),
  between = list(y = 0.5), strip = FALSE, strip.left = TRUE,
  as.table = TRUE, ...)

Arguments

x

object of class "stlplus".

xlab, ylab, span, type, scales, lwd, col, layout

parameters to be passed to xyplot.

between, strip, strip.left, as.table, ...

parameters to be passed to xyplot.

Value

object of class "trellis".

References

R. B. Cleveland, W. S. Cleveland, J. E. McRae, and I. Terpenning (1990) STL: A Seasonal-Trend Decomposition Procedure Based on Loess. Journal of Official Statistics, 6, 3–73.

See Also

stlplus


hafen/stlplus documentation built on May 17, 2019, 2:24 p.m.