qbetabinom: Quantile for betabin function

View source: R/tools.R

qbetabinomR Documentation

Quantile for betabin function

Description

Quantile function for the betabinomal distribution using the p/phi parameterisation.

Usage

qbetabinom(p, size, phi, prob)

Arguments

p

Point of the distribution from which one is looking for the quantile

size

Sample size of the random variable

phi

Over-dispersion parameter

prob

Mean probability of the binomial distribution

Details

Filling a gap in the VGAM package.

Value

A real number corresponding to the quantile p.

Author(s)

Vincent Plagnol

See Also

VGAM R package.

Examples

qbetabinom(p = 0.2, size = 50, phi = 0.4, prob = 0.3)
qbetabinom(p = 0.2, size = 50, phi = 0.1, prob = 0.8)

ExomeDepth documentation built on Nov. 3, 2022, 5:05 p.m.