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