plot_trend {stlplus} | R Documentation |
Plots the trend+remainder with the trend component overlaid, and the remainder component in a separate panel.
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, ...)
x |
object of class |
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. |
object of class "trellis"
.
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.