kernel_function.Rd
Computes the weight using a kernel function
kernel_function(time, time_zero, h, type)
time point
grid point
bandwidth
kernel function