powered by
Vectorized evaluation of the rectangular kernel.
rectangular(x, a = -0.5, b = 0.5)
Numeric vector.
Numeric scalar: lower bound of kernel support; defaults to -0.5.
Numeric scalar: upper bound of kernel support; defaults to 0.5.
A numeric vector of the rectangular kernel evaluated at the values in x.
x
# NOT RUN { kader:::rectangular(x = seq(-1, 1, by = 0.1)) # } # NOT RUN { curve(kader:::rectangular(x), from = -1, to = 1) # } # NOT RUN { # }
Run the code above in your browser using DataLab