powered by
Functions to compute a binomial kernel.
binomial_kernel(vertical_radius, horizontal_radius = 0)
[numeric] The kernel's radius in the vertical dimension.
[numeric] The kernel's radius in the horizontal dimension.
A matrix corresponding to the kernel.
matrix
# NOT RUN { binomial_kernel(vertical_radius = 2, horizontal_radius = 2) # }
Run the code above in your browser using DataLab