R/ll.binom.R

Defines functions ll.binom

Documented in ll.binom

ll.binom <-
function(x, n, p) 
{
    sum(dbinom(x = x, size = n, prob = p, log = TRUE))
}

Try the HPbayes package in your browser

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

HPbayes documentation built on May 2, 2019, 5:53 a.m.