d6Twice: Roll Two 6-Sided Dice

Description Usage Details Value Examples

View source: R/dice.R

Description

d6Twice returns a random interger between 2 and 12, simulating the sum of rolling two six sided dice.

Usage

1

Details

d6Twice utilizes the dice function to simulate the dice roll, this function returns an interger between 1 and 6 thus d6Twice will return a value of 2 to 12 that is not uniformly distrubited. The most common value returned will be 7 with the least being 2 and 12.

Value

a random interger with a value between 2 and 12 inclusive. (non-uniform)

Examples

1

ab9sq/Package4 documentation built on May 28, 2020, 6:32 p.m.