knitr::opts_chunk$set(collapse=TRUE, comment = "#>") library(dieroller)
The package "dieroller" provides the functions necessary to simulate rolling a die of six sides with the options to select the display of the sides, as well as probabilities, and to visualize.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.