droll
Overview
droll \ˈdrōl\ adjective. 1. having a humorous, whimsical, or odd quality.
droll is an R package for parsing dice notation, analyzing rolls, calculating success probabilities, and plotting outcome distributions. It can help detail-oriented DMs prepare (un)fair encounters in advance or decide on skill check DCs on the fly. Players might also find it useful for determining the best course of action when in a tough situation.
It is designed to be a very lightweight (only one required dependency), very fast (less than 0.4s to get the full distribution of 40d6), and very precise (symbolic internal representation courtesy of Ryacas) anydice for R.
Installation
Install the released version of droll from CRAN with:
install.packages("droll")
Or install the development version from GitHub with:
# install.packages("remotes")
remotes::install_github("curso-r/droll")
Usage
What are you looking for in droll? Are you a level 1 user, a seasoned level 10 programmer, or a god-like level 20 statistician? Choose your class: