Compute quantile coherency from a smoothed quantile periodogram.
Returns quantile coherency defined as [REMOVE_ME]
where is the smoothed quantile periodogram.
## S4 method for signature 'SmoothedPG' getCoherency( object, frequencies = 2 * pi * (0:(lenTS(object@qPG@freqRep@Y) - 1))/lenTS(object@qPG@freqRep@Y), levels.1 = getLevels(object, 1), levels.2 = getLevels(object, 2), d1 = 1:(dim(object@values)[2]), d2 = 1:(dim(object@values)[4]) )
object
: SmoothedPG
of which to get the valuesfrequencies
: a vector of frequencies for which to get the valueslevels.1
: the first vector of levels for which to get the valueslevels.2
: the second vector of levels for which to get the valuesd1
: optional parameter that determine for which j1 to return the data; may be a vector of elements 1, ..., Dd2
: same as d1, but for j2Returns data from the array values
that's a slot of object
.
Returns quantile coherency defined as
where is the smoothed quantile periodogram.
For the mechanism of selecting frequencies, dimensions and/or levels see, for example, getValues-SmoothedPG
.
An example on how to use this function is analogously to the example given in getValues-QuantilePG
.