powered by
Create an object representing a Binomial distribution
binomialdistribution(ntrials, probability)
the number of trials in the binomial distribution (a positive integer).
the probability for success in each trial (a number between 0 and 1).
An object of class "binomialdistribution" and class "probabilitydistribution".
# NOT RUN { dist <- binomialdistribution(10, 0.4) cdf(dist, 3) # }
Run the code above in your browser using DataLab