d20 | R Documentation |
Roll some dice
d20(n)
d4(n)
d6(n)
d8(n)
d10(n)
d12(n)
d100(n)
n |
A scalar integer indicating the number of dice to roll |
A vector of dice rolls
d4()
: Roll n d4 dice
d6()
: Roll n d6 dice
d8()
: Roll n d8 dice
d10()
: Roll n d10 dice
d12()
: Roll n d12 dice
d100()
: Roll n d100 dice
d20(n=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.