Compute the values for some kernels.

kernel_f(u, type = "epanechnikov")

Arguments

u

Vector, points to estimate the kernel.

type

String (default = 'epanechnikov'), the kernel used for the estimation:

  • epanechnikov

  • uniform

  • biweight

Value

Vector, the evaluated kernel.