Learn R Programming

quantspec (version 1.0-0)

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

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

## S3 method for class 'QuantileSD':
getMeanPG(object, frequencies = 2 * pi *
  (0:(getN(object) - 1))/getN(object), levels.1 = getLevels(object, 1),
  levels.2 = getLevels(object, 2))

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

Value

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