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.
Family | PDF or PMF | R functions | Family arguments |
---|---|---|---|
Beta | dbeta pbeta qbeta rbeta | shape1, shape2, ncp = 0 | |
Binomial | dbinom pbinom qbinom rbinom | size, prob | |
Birthday | pbirthday qbirthday | classes, coincident | |
Cauchy | dcauchy pcauchy qcauchy rcauchy | location, scale | |
Chi-squared | dchisq pchisq qchisq rchisq | df, ncp=0 | |
Exponential | dexp pexp qexp rexp | rate | |
F-distribution | df pf qf rf | df1, df2, ncp | |
Gamma | dgamma pgamma qgamma rgamma | shape, rate=1, scale=1/rate | |
Geometric | dgeom pgeom qgeom rgeom ... |
Get R in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.