R/dmix.R

dmix <-
function (x, pars) 
{
    pars[1] * dgamma(x, shape = pars[2], rate = pars[3]) + (1 - 
        pars[1]) * dnorm(x, mean = pars[4], sd = pars[5])
}

Try the scRecover package in your browser

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

scRecover documentation built on Nov. 8, 2020, 5:03 p.m.