50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


moezipfR (version 1.0)

rmoezipf: Random number generator.

Description

Generates random numbers from a MOEZipf distribution with fixed parameters $\alpha$ and $\beta$.

Usage

rmoezipf(n, alpha, beta)

Arguments

n
Number of random numbers to return.
alpha
Value of the $\alpha$ parameter ($\alpha > 1$).
beta
Value of the $\beta$ parameter ($\beta > 0$).

Value

Vector containing the n generated numbers.

References

Young, D. S. (2010). Tolerance: an R package for estimating tolerance intervals. Journal of Statistical Software, 36(5), 1-39. https://core.ac.uk/download/pdf/6340270.pdf?repositoryId=153

Examples

Run this code
rmoezipf(10, 2.5, 1.3)

Run the code above in your browser using DataLab