Category Archives: Distributions

Data Distributions in R

Basic Syntax

Click to enlarge

Data distributions in R provide many functions to generate and test random samples.  For any distribution, it is possible to use the density, cumulative probability, quartiles, or a random number generator.  The distribution name must be prefaced with the letters d, p, q or r as follows:

  • Density: d<>()
  • Cumulative Probability: p<>()
  • Quartile: q<>()
  • Random Number: r<>()
Posted in Distributions | Leave a comment