plot_trend {stlplus} | R Documentation |
Trend Diagnostic Plot for an stlplus Object
Description
Plots the trend+remainder with the trend component overlaid, and the remainder component in a separate panel.
Usage
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 |
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
[Package stlplus version 0.5.1 Index]