Description Usage Arguments Details Value Note Author(s) See Also Examples
Density and random generation for the binomial distribution with parameters size
and prob
.
1 2 |
x |
vector of quantiles. |
n |
number of observations |
size |
number of trials (zero or more) |
prob |
probability of success on each trial |
log |
logical; if TRUE, probabilities p are given as log(p). |
type |
specify the type; may be |
Very similar to the R stats functionality.
gdbinom
gives the density and grbinom
generates random deviates
The algorythm for simulating from the poisson distribution was modified from the GSL library which uses the modified from the GSL library which uses the Knuth method.
Nathan Morris
1 | myRndNums = grbinom(10,10,.6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.