epanechnikov {kader}R Documentation

Epanechnikov kernel

Description

Vectorized evaluation of the Epanechnikov kernel.

Usage

epanechnikov(x)

Arguments

x

Numeric vector.

Value

A numeric vector of the Epanechnikov kernel evaluated at the values in x.

Examples

kader:::epanechnikov(x = c(-sqrt(6:5), -2:2, sqrt(5:6)))

curve(kader:::epanechnikov(x), from = -sqrt(6), to = sqrt(6))



[Package kader version 0.0.8 Index]