| getValues-QuantileSD {quantspec} | R Documentation |
Get values from a quantile spectral density kernel
Description
If none of the optional parameters is specified then the values are returned
for all Fourier frequencies in [0,2\pi) (base given by slot
N) and all levels available. The frequencies and levels can be freely
specified. The returned array then has, at position (j,k1,k2,b),
the value corresponding to the frequencies[j],
levels.1[k1] and levels.2[k2] that are closest to the
frequencies, levels.1 and levels.2
available in object; closest.pos is used to determine
what closest to means.
Usage
## S4 method for signature 'QuantileSD'
getValues(
object,
frequencies = 2 * pi * (0:(object@N - 1))/object@N,
levels.1 = getLevels(object, 1),
levels.2 = getLevels(object, 2),
d1 = 1:(dim(object@values)[2]),
d2 = 1:(dim(object@values)[4])
)
Arguments
object |
|
frequencies |
a vector of frequencies for which to get the values |
levels.1 |
the first vector of levels for which to get the values |
levels.2 |
the second vector of levels for which to get the values |
d1 |
optional parameter that determine for which j1 to return the data; may be a vector of elements 1, ..., D |
d2 |
same as d1, but for j2 |
Value
Returns data from the array values that's a slot of
object.
See Also
For examples on how to use this function go to QuantileSD.