R/loglikComplete.R

loglikComplete <-
function (theta, x, distribution = "norm") 
{
    sum(log(do.call(paste("d", distribution, sep = ""), args = c(list(x = x), 
        as.list(theta)))))
}

Try the EnvStats package in your browser

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

EnvStats documentation built on Aug. 22, 2023, 5:09 p.m.