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