This function creates a Kernel object using a kernel function (FUN
) that takes the distance from the center of the kernel as its first argument.
Arguments
- kerndim
A numeric vector representing the dimensions in voxels of the kernel.
- vdim
A numeric vector representing the dimensions of the voxels in real units.
- FUN
The kernel function taking its first argument representing the distance from the center of the kernel (default:
dnorm
).- ...
Additional parameters to the kernel function,
FUN
.