plot.smoots: Plot Method for the Package 'smoots'

View source: R/plot.smoots.R

plot.smootsR Documentation

Plot Method for the Package 'smoots'

Description

This function regulates how objects created by the package smoots are plotted.

Usage

## S3 method for class 'smoots'
plot(x, t = NULL, rescale = TRUE, which = NULL, ...)

Arguments

x

an input object of class smoots.

t

an optional vector with time points that will be considered for the x-axis within the plot; is set to NULL by default and uses a vector 1:length(x$ye) for time points.

rescale

a single logical value; is set to TRUE by default; if the output of a derivative estimation process is passed to x and if rescale = TRUE, the estimates will be rescaled according to t.

which

a selector for the plot type so that the interactive prompt is avoided; for the default, which = NULL, the user will be asked interactively via the console which plot to show; to avoid this behavior, set which to the corresponding number of the plot you would like to create (1: original series, 2: trend series, 3: residual series, 4: original series with trend series for trend estimation objects, 1: original series, 2: derivative series for trend derivative estimation object).

...

additional arguments of the standard plot method.

Value

None

Author(s)

  • Dominik Schulz (Research Assistant) (Department of Economics, Paderborn University),
    Package Creator and Maintainer


smoots documentation built on Sept. 11, 2023, 9:07 a.m.