epanechnikov: Epanechnikov kernel

Description Usage Arguments Value Examples

Description

Vectorized evaluation of the Epanechnikov kernel.

Usage

1

Arguments

x

Numeric vector.

Value

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

Examples

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

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

GerritEichner/kader documentation built on May 10, 2019, 1:14 p.m.