swh:1:snp:3a4bc456f1832b81cfa640941c632f6d5535d3a4
Tip revision: cd86b08de1e3b03a04b7def69418a9e9a1b5a441 authored by R. Wayne Oldford on 16 March 2021, 21:40:03 UTC
version 1.3.4
version 1.3.4
Tip revision: cd86b08
l_plot_decomposed_ts.R
#' @rdname l_plot
#' @param tk_title provides an alternative window name to Tk's \code{wm title}. If \code{NULL}, \code{stl} will be used.
#' @param linecolor line colour of all time series.
#' Default given by \code{\link{l_getOption}("color")}.
#' @param linewidth line width of all time series (incl. original and decomposed components.
#' Default given by \code{\link{l_getOption}("linewidth")}.
#' @param linkingGroup string giving the linkingGroup for all plots. If missing,
#' a default \code{linkingGroup} will be determined from deparsing the input \code{x}.
#'
#' @export
l_plot.decomposed.ts <- function(x, y = NULL,
xlabel = NULL, ylabel = NULL,
title = NULL, tk_title = NULL,
color = l_getOption("color"),
size = l_getOption("size"),
linecolor = l_getOption("color"),
linewidth = l_getOption("linewidth"),
linkingGroup,
showScales = TRUE,
showGuides = TRUE,
showLabels = TRUE,
...
){
if (!is.null(y)) warning("value of y argument is ignored")
call <- match.call()
l_plot_ts(x,
xlabel = xlabel, ylabel = ylabel,
title = title, tk_title = tk_title,
color = color, size = size,
linecolor = linecolor, linewidth = linewidth,
linkingGroup,
showScales = showScales,
showGuides = showGuides,
showLabels = showLabels,
call = call,
...
)
}