Description Usage Arguments Value Author(s) Examples
Create an object representing a Binomial distribution
1 | binomialdistribution(ntrials, probability)
|
ntrials |
the number of trials in the binomial distribution (a positive integer). |
probability |
the probability for success in each trial (a number between 0 and 1). |
An object of class "binomialdistribution" and class "probabilitydistribution".
Petter Mostad <mostad@chalmers.se>
1 2 | dist <- binomialdistribution(10, 0.4)
cdf(dist, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.