R/kernC.R

kern.C <- function (x, xi, h)
{
    (1+cos(pi*(xi-x)/h))/(2*h)
}

Try the mixtools package in your browser

Any scripts or data that you put into this service are public.

mixtools documentation built on Dec. 5, 2022, 5:23 p.m.