kernapply

0th

Percentile

Apply Smoothing Kernel

kernapply computes the convolution between an input sequence and a specific kernel.

Keywords
ts
Usage
kernapply(x, ...)
"kernapply"(x, k, circular = FALSE, ...) "kernapply"(x, k, circular = FALSE, ...) "kernapply"(x, k, circular = FALSE, ...)
"kernapply"(x, k, ...)
Arguments
x
an input vector, matrix, time series or kernel to be smoothed.
k
smoothing "tskernel" object.
circular
a logical indicating whether the input sequence to be smoothed is treated as circular, i.e., periodic.
...
arguments passed to or from other methods.
Value

A smoothed version of the input sequence.

Note

This uses fft to perform the convolution, so is fastest when NROW(x) is a power of 2 or some other highly composite integer.

See Also

kernel, convolve, filter, spectrum

Aliases
  • kernapply
  • kernapply.default
  • kernapply.ts
  • kernapply.tskernel
  • kernapply.vector
Examples
library(stats) ## see 'kernel' for examples
Documentation reproduced from package stats, version 3.2.5, License: Part of R 3.2.5

Community examples

Looks like there are no examples yet.