Learn R Programming

updog (version 1.1.3)

dbernbinom: Special case of betabinomial where the beta is bernoulli mu.

Description

Special case of betabinomial where the beta is bernoulli mu.

Usage

dbernbinom(x, size, mu, log)

Arguments

x

The quantile.

size

The total number of draws.

mu

The mean of the beta.

log

A logical. Should we return the log of the density TRUE or not FALSE?

Value

The density of the Bernoulli-binomial.