| roll_dice | R Documentation | 
Allows you to roll any combination of dice
roll_dice(
  d4 = NULL,
  d6 = NULL,
  d8 = NULL,
  d10 = NULL,
  d12 = NULL,
  d20 = NULL,
  d100 = NULL,
  collapse = FALSE
)
| d4 | A positive integer indicating the number of d4 to roll | 
| d6 | A positive integer indicating the number of d6 to roll | 
| d8 | A positive integer indicating the number of d8 to roll | 
| d10 | A positive integer indicating the number of d10 to roll | 
| d12 | A positive integer indicating the number of d12 to roll | 
| d20 | A positive integer indicating the number of d20 to roll | 
| d100 | A positive integer indicating the number of d100 to roll | 
| collapse | Logical (FALSE) indicating whether to sum by die type | 
roll_dice(d20=6)
roll_dice(d4=2,d6=3,collapse=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.