Learn R Programming

updog (version 1.2.0)

dbetabinom_double: The density function of the beta-binomial distribution.

Description

The density function of the beta-binomial distribution.

Usage

dbetabinom_double(x, size, mu, rho, log)

Arguments

x

The quantile.

size

The total number of draws.

mu

The mean of the beta.

rho

The overdispersion parameter of the beta.

log

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

Value

The density of the beta-binomial.