powered by
mu.dbinom(x, size, prob, log = FALSE)
NA
length(x)
TRUE
mu.dbinom <- function(x, size, prob, log=FALSE) if (size==0) 1 else dbinom(x, size, prob, log=FALSE)
dbinom
dbinom(100, 10, 3/10, log=FALSE)
Run the code above in your browser using DataLab