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)

slm documentation built on Aug. 31, 2020, 5:11 p.m.