Learn R Programming

extremefit (version 1.0.2)

Rectangular.kernel: Rectangular kernel function

Description

Rectangular kernel function

Usage

Rectangular.kernel(x)

Arguments

x

a vector.

Details

Rectangular kernel function

Rectangular Kernel $$ K(x) = 1 (abs(x) <= 1) $$ We recommend a critical value of 10 for this kernel.

Examples

Run this code
# NOT RUN {
plot(function(x) Rectangular.kernel(x), -2, 2,
main = " Rectangular kernel ")

# }

Run the code above in your browser using DataLab