Plotting Wspec objects

Share:

Description

Plotting a periodogram contained in an object of class Wspec.

Usage

1
2
3
## S4 method for signature 'Wspec,missing'
plot(x, which = 1, type = "h", xlab = "Frequency", 
    ylab = NULL, log = "", ...)

Arguments

x

Object of class Wspec.

which

Integer indicating which of the periodograms contained in object x to plot. Default is to plot the first one.

type

The default is to plot horizontal lines, rather than points. See plot.default for details.

xlab, ylab

Label for x-/y-axis.

log

Character - "x" if the x-axis is to be logarithmic, "y" if the y-axis is to be logarithmic (quite typical for some visualizations of periodograms), and "xy" or "yx" if both axes are to be logarithmic.

...

Further arguments to be passed to the underlying plot functions. See plot.default for details.

Author(s)

Uwe Ligges ligges@statistik.tu-dortmund.de

See Also

see Wspec, periodogram and tuneR for the constructor function and some examples.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.