getValues-KernelWeight function

Get values from a weight object determined by a kernel function W and a bandwidth b.

Get values from a weight object determined by a kernel function W and a bandwidth b.

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

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

Arguments

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

Returns

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

  • Maintainer: Tobias Kley
  • License: GPL (>= 2)
  • Last published: 2024-07-11