R: Epanechnikov kernel

k.epan {RBF} | R Documentation

## Epanechnikov kernel

### Description

This function evaluates an Epanechnikov kernel

### Usage

    k.epan(x)

### Arguments

`x` | a vector of real numbers

### Details

This function evaluates an Epanechnikov kernel

### Value

A vector of the same length as `x` where each entry is `0.75 * (1 - x^2)` if `x < 1` and 0 otherwise.

### Author(s)

Matias Salibian-Barrera, matias@stat.ubc.ca, Alejandra Martinez

### Examples

    x <- seq(-2, 2, length=10)
    k.epan(x)

[Package RBF version 2.1.0 Index]