Description Usage Arguments Value
Compute the probability of heads with each flip given an exponential model The model assumes 100% chance of heads before a coin is picked up and it drops exponentially each time the coin is handled.
1 | prob_heads_exponential_decay(nflips, halflife)
|
nflips |
Total number of flips (heads and tails) |
halflife |
How many flips to get to 50% heads |
Vector of probability of heads for the first flip, second flip, etc.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.