getValues-SpecDistrWeight: Get values from a weight object of type 'SpecDistrWeight'

Description Usage Arguments Value

Description

For an object of type SpecDistrWeight and an optional integer N the weights Wn are returned as a vector that has Wn(2pi(k-1)/n) at position k.

Usage

1
2
## S4 method for signature 'SpecDistrWeight'
getValues(object, N = length(object@env$values))

Arguments

object

SpecDistrWeight of which to get the values

N

a numeric specifying the number of equaly spaced Fourier frequencies from [0,2pi) for which the weight will be computed; by default the number N specified on construction.

Value

Returns a vector of size N as described in the Description section.


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