Description Usage Arguments Author(s)
Creates an autocorrelated coin
1 2 | autoCorrCoin(success = "H", failure = "T", initial_prob = 0.5,
p_given1 = 0.5, p_given0 = 0.5)
|
success |
Denotes "success" in the Bernoulli Trial. Default is "H". |
failure |
Denotes "failure" in the Bernoulli Trial. Default is "F". |
initial_prob |
The initial probability of "success". Must be numeric and be between 0 and 1. Default is 0.5. |
p_given1 |
The probability of "success" given the previous trial was a "success". Must be numeric and be between 0 and 1. Default is 0.5. |
p_given0 |
The probability of "success" given the previous trial was a "failure". Must be numeric and be between 0 and 1. Default is 0.5. |
Justin Strate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.