View source: R/distributions.R
Defines a probability space for a geometric distribution (which represents the number of trials until the first success), including the success.
1 | Geometric(p)
|
p |
(double): probability (number between 0 and 1) that each trial results in a "success" (i.e., 1) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.