powered by
Rolls a die for 'n' number of times
roll(n = 1, size = 6)
is the number of times to roll the die (default 1)
is the number of faces on the die (default 6)
Outcome(s) of rolling of the die
# NOT RUN { roll(2,10) # }
Run the code above in your browser using DataLab