dbetabinom: Beta-binomial density function.

Description Usage Arguments Author(s)

View source: R/updog_bb.R

Description

Note that it is possible here for alpha = 0 or for beta = 0 (but not both). In which case, this function becomes the indicator function for x == 0 (when alpha = 0) or x == size (when beta = 0).

Usage

1
dbetabinom(x, size, alpha, beta, log = FALSE)

Arguments

x

The observed counts.

size

The number of trials.

alpha

The alpha parameter of the underlying beta.

beta

The beta parameter of the underlying beta

log

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

Author(s)

David Gerard


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