Category Archives: Distributions
Data Distributions in R
Basic Syntax
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<distrib.name>()
- Cumulative Probability: p<distrib.name>()
- Quartile: q<distrib.name>()
- Random Number: r<distrib.name>()
Posted in Distributions
Comments Off on Data Distributions in R