# kernapply

##### Apply Smoothing Kernel

`kernapply`

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

- Keywords
- ts

##### Usage

`kernapply(x, ...)`## S3 method for class 'default':
kernapply(x, k, circular = FALSE, \dots)
## S3 method for class 'ts':
kernapply(x, k, circular = FALSE, \dots)
## S3 method for class 'vector':
kernapply(x, k, circular = FALSE, \dots)

## S3 method for class 'tskernel':
kernapply(x, k, \dots)

##### 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

##### Examples

`library(stats)`

`## see 'kernel' for examples`

*Documentation reproduced from package stats, version 3.3, License: Part of R 3.3*

### Community examples

Looks like there are no examples yet.