lambda(z, x, xi, h = NULL, kernel = c("Gaussian", "Beta",
"Triangle", "Cosinus", "Optcosinus"), g = 0)g = 0 which yields the uniform kernel. Some common values are g = 1 for the
Epanechnikov kernel, g = 2 for the biweight kernel, and lambda returns local estimates of the mixing proportions for the inputted
x vector.regmixEM.loc