View source: R/functions.R
roll(dietype = 1:6, probvalues = rep(1/length(dietype), length(dietype)))
The type of die
The probability of getting a particular number.
the sum of two dice
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.