R/beta_prime.R
rbetaprime.Rd
RNG for the beta prime distribution
rbetaprime(n, mu = 1, phi = 1)
Number of samples.
Mean, mu > 0.
Precision, phi > 0.
Random numbers from the beta prime distribution.
hist(rbetaprime(100, mu = 1, phi = 2))