rectangle {slm}R Documentation

Rectangular kernel

Description

Rectangular kernel

Usage

rectangle(x)

Arguments

x

a vector of real numbers.

Value

This function computes the values of the rectangular kernel at points x.

Examples

x = seq(-2,2,length=1000)
y = rectangle(x)
plot(x,y)

[Package slm version 1.2.0 Index]