Creates a tossed coin from either a characeter or factor vector of two levels
1 | tossed_coin(vec, success, failure, prob = NULL, ...)
|
vec |
a vector reprsenting the trial |
success |
denotes "success" in the trial |
failure |
denotes "failure" in the trial |
prob |
Represents the probability of "Success". Default is NULL |
... |
other arguments that may be supplied |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.