Description Usage Arguments Value Examples

These functions simplify simulating coin tosses for those (students primarily) who are not yet familiar with the binomial distributions or just like this syntax and verbosity better.

1 2 3 4 5 6 7 |

`n` |
the number of coins to toss |

`prob` |
probability of heads on each toss |

`quiet` |
a logical. If |

`verbose` |
a logical. If |

`summarize` |
if |

`summarise` |
alternative spelling for |

`x` |
an object |

`...` |
additional arguments |

for `rflip`

, a cointoss object

for `nflip`

, a numeric vector

1 2 3 4 5 6 |

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.