Learn R Programming

fdars (version 0.3.3)

Ker.tri: Triweight Kernel

Description

Triweight Kernel

Usage

Ker.tri(u)

Value

Kernel values at u (0 outside [-1, 1]).

Arguments

u

Numeric vector of evaluation points.

Examples

Run this code
u <- seq(-1.5, 1.5, length.out = 100)
plot(u, Ker.tri(u), type = "l", main = "Triweight Kernel")

Run the code above in your browser using DataLab