dbetabinom_mu_rho: beta-binomial density function in terms of mean and...

Description Usage Arguments

View source: R/updog_bb.R

Description

beta-binomial density function in terms of mean and correlation.

Usage

1
dbetabinom_mu_rho(x, size, mu, rho, log = FALSE)

Arguments

x

The observed counts.

size

The number of trials.

mu

The mean proportion. Equivalent to alpha / (alpha + beta) in dbetabinom.

rho

The correlation/overdispersion parameter. Equivalent to 1 / (1 + alpha + beta) in dbetabinom.

log

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


dcgerard/updogAlpha documentation built on May 14, 2019, 3:10 a.m.