View source: R/distributions.R
Bernoulli | R Documentation |
Bernoulli distribution as a CompositeFamily
Bernoulli(prob = 0.5)
prob |
the probability of a success |
a new BinaryFamily object
dist <- Bernoulli()
dist$probability()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.