Learn R Programming

ExomeDepth (version 1.1.16)

qbetabinom: Quantile for betabin function

Description

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

Usage

qbetabinom(p, size, phi, prob)

Value

A real number corresponding to the quantile p.

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

Author

Vincent Plagnol

Details

Filling a gap in the VGAM package.

See Also

VGAM R package.

Examples

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

Run the code above in your browser using DataLab