Wspec-class {tuneR} | R Documentation |
Class Wspec
Description
Class “Wspec” (Wave spectrums).
Objects of this class represent a bunch of periodograms
(see periodogram
, each generated by spectrum
)
corresponding to one or several windows of one Wave
or WaveMC
object.
Redundancy (e.g. same frequencies in each of the periodograms) will be omitted,
hence reducing memory consumption.
Details
The subset function “[
” extracts the selected
elements of slots spec
, starts
, variance
and energy
and returns the other slots unchanged.
Objects from the Class
Objects can be created by calls of the form new("Wspec", ...)
,
but regularly they will be created by calls to the function periodogram
.
Slots
The following slots are defined. For details see the constructor function periodogram
.
freq
:Object of class
"numeric"
.spec
:Object of class
"list"
.kernel
:Object of class
"ANY"
.df
:Object of class
"numeric"
.taper
:Object of class
"numeric"
.width
:Object of class
"numeric"
.overlap
:Object of class
"numeric"
.normalize
:Object of class
"logical"
.starts
:Object of class
"numeric"
.stereo
:Object of class
"logical"
.samp.rate
:Object of class
"numeric"
.variance
:Object of class
"numeric"
.energy
:Object of class
"numeric"
.
Author(s)
Uwe Ligges ligges@statistik.tu-dortmund.de
See Also
the
show
,plot
andsummary
methods,for the constructor function and some examples:
periodogram
(and hence alsospec.pgram
, Wave-class,Wave
, WaveMC-class, andWaveMC
)-
WspecMat
for a similar class that represents the spectrum in form of a matrix.