rectangle: Rectangular kernel

Description Usage Arguments Value Examples

View source: R/auxiliary-fun.R

Description

Rectangular kernel

Usage

1

Arguments

x

a vector of real numbers.

Value

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

Examples

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

E-Caron/slm documentation built on Jan. 9, 2020, 1:30 p.m.