powered by
Returns a BINOMIAL distribution object that produce random numbers from a binomial distribution using the rbinom function
rbinom
new_BINOMIAL(p_size, p_prob, p_dimnames = "rvar")
An object of class DISTRIBUTION, BINOMIAL
DISTRIBUTION
BINOMIAL
integer that represent the number of trials
probability of success
A character that represents the name of the dimension
John J. Aponte
myDistr <- new_BINOMIAL(1000,0.3) myDistr$rfunc(10)
Run the code above in your browser using DataLab