View source: R/chapter1_annot.R View source: R/chapter1.R
| DieRolls | R Documentation |
Uses RandomNumbers directly to generate n six-sided die rolls.
The R way to do this is:
sample(1:6, n, replace = TRUE)
DieRolls(n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.