O'Reilly logo

R in a Nutshell, 2nd Edition by Joseph Adler

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Distribution Function Families

Here is a table showing the probability distribution functions available in R. In addition to the arguments listed above that are common to each type of function, there are also some arguments that are common to each family.

FamilyPDF or PMFR functionsFamily arguments
Beta

Distribution Function Families

dbeta, pbeta, qbeta, rbetashape1, shape2, ncp = 0
Binomial

Distribution Function Families

dbinom, pbinom, qbinom, rbinomsize, prob
Birthday pbirthday, qbirthdayclasses, coincident
Cauchy

Distribution Function Families

dcauchy, pcauchy, qcauchy, rcauchylocation, scale
Chi-squared

Distribution Function Families

dchisq, pchisq, qchisq, rchisqdf, ncp=0
Exponential

Distribution Function Families

dexp, pexp, qexp, rexprate
F-distribution

Distribution Function Families

df pf qf rfdf1, df2, ncp
Gamma

Distribution Function Families

dgamma, pgamma, qgamma, rgammashape, rate=1, scale=1/rate
Geometric

dgeom, pgeom, qgeom, rgeomprob
Hypergeometric

dhyper, phyper, qhyper, rhyperm, n, k (and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required