getMeanPG-QuantileSD: Get 'meanPG' from a quantile spectral density kernel

Description Usage Arguments Value

Description

The selection mechanism for frequencies and levels operates in the same way as described in getValues-QuantileSD. The format of the output is also described there.

Usage

1
2
3
4
5
6
7
8
9
## S4 method for signature 'QuantileSD'
getMeanPG(
  object,
  frequencies = 2 * pi * (0:(getN(object) - 1))/getN(object),
  levels.1 = getLevels(object, 1),
  levels.2 = getLevels(object, 2),
  d1 = 1:(dim(object@values)[2]),
  d2 = 1:(dim(object@values)[4])
)

Arguments

object

QuantileSD of which to get the meanPG

frequencies

a vector of frequencies for which to get the meanPG

levels.1

the first vector of levels for which to get the meanPG

levels.2

the second vector of levels for which to get the meanPG

d1

optional parameter that determine for which j1 to return the meanPG; may be a vector of elements 1, ..., D

d2

same as d1, but for j2

Value

Returns the array meanPG that's a slot of object.


quantspec documentation built on July 15, 2020, 1:07 a.m.