Description Usage Arguments Details Value Examples

Probability plot of flipping fair or loaded coin

1 2 |

`n` |
number of trials |

`prob` |
probability assigned to each possible outcome |

`col` |
color of the plot |

`type` |
type of plot |

`main` |
an overall title for the plot |

`sub` |
a sub title for the plot |

The default probabilty equals to 1/n. All the assigned probabilites must between 0 and 1.

Plot of mean value and corresponding probabilities for all possible outcomes.

1 2 |

```
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.