Stats

53 Contributors: 4 Friday, December 9, 2016
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

Distribution Functions

Introduction

R has many built-in functions to work with probability distributions, with official docs starting at ?Distributions.

Remarks

There are generally four prefixes:

  • d-The density function for the given distribution
  • p-The cumulative distribution function
  • q-Get the quantile associated with the given probability
  • r-Get a random sample

For the distributions built into R's base installation, see ?Distributions.

Related Examples