Learn R Programming

ExomeDepth (version 1.1.16)

qbetabinom.ab: Quantile function for the beta-binomial distribution

Description

Standard qbetabinomial.ab function which is missing from the VGAM package.

Usage

qbetabinom.ab(p, size, shape1, shape2)

Value

A quantile of the distribution.

Arguments

p

Mean value of the beta-binomial distribution.

size

Size of the beta-binomial.

shape1

First parameter of the beta distribution for p.

shape2

Second parameter of the beta distribution for p.

See Also

VGAM package.

Examples

Run this code
qbetabinom.ab(p = 0.5, size = 50, shape1 = 0.2, shape2 = 0.25)

Run the code above in your browser using DataLab