Dice
roll(dietype = 1:6, probvalues = rep(1/length(dietype), length(dietype)))
dietype | The type of die. |
---|---|
probvalues | The probability of getting a particular number of divots. |
The sum of two dice.
set.seed(123) roll()#> Warning: standard dice#> [1] 9roll(dietype = 1:20)#> Warning: non-standard dice#> [1] 29