rpoly01 {rbbnp} | R Documentation |
Generate n samples from the distribution
rpoly01(n, k = 5)
n |
The number of samples to generate. |
k |
The exponent in the distribution function, defaults to 5. |
A vector of n
samples from the specified polynomial distribution.
CDF: f(x) = (x-1)^k + 1