powered by
Trapeze kernel
trapeze(x, width = 0.8)
a vector of real numbers.
a number between 0 and 1.
This function computes the values of the trapeze kernel at points x.
x
# NOT RUN { x = seq(-2,2,length=1000) y = trapeze(x, width=0.5) plot(x,y) # }
Run the code above in your browser using DataLab