Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot-Wspec

Plotting Wspec objects


Description

Plotting a periodogram contained in an object of class Wspec.

Usage

## 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)

See Also

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


tuneR

Analysis of Music and Speech

v1.3.3
GPL-2 | GPL-3
Authors
Uwe Ligges <ligges@statistik.tu-dortmund.de> with contributions from Sebastian Krey, Olaf Mersmann, Sarah Schnackenberg, Guillaume Guenard, Andrea Preusser, Anita Thieler, Johanna Mielke and Claus Weihs, as well as code fragments and ideas from the former package 'sound' by Matthias Heymann and functions from 'rastamat' by Daniel P. W. Ellis. The included parts of the libmad MPEG audio decoder library are authored by Underbit Technologies.
Initial release
2018-07-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.