R/kernO.R

kern.O <- function (x, xi, h)
{
    (pi/4)*cos(.5*pi*(xi-x)/h)/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.