Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

slm (version 1.2.0)

rectangle: 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

Run this code
# NOT RUN {
x = seq(-2,2,length=1000)
y = rectangle(x)
plot(x,y)
# }

Run the code above in your browser using DataLab