Learn R Programming

tuneR (version 1.4.7)

WspecMat-class: Class WspecMat

Description

Class “WspecMat” (Wave spectrums as Matrix). 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.

Arguments

Objects from the Class

Objects can be created by calls of the form new("WspecMat", ...), but regularly they will be created from a Wspec object by calls such as as(Wspec_Object, "WspecMat").

Slots

The following slots are defined. For details see the constructor function periodogram.

freq:

Object of class "numeric".

spec:

Object of class "matrix".

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".

Details

The subset function “[” extracts the selected elements of slots spec, starts, variance and energy and returns the other slots unchanged.

See Also

the show, plot and summary methods