# NOT RUN {
set.seed(42)
# Density of 2d6 + 5
droll_plot(2 * d6 + 5)
# Distribution function of 2d6 + 5
proll_plot(2 * d6 + 5)
# Quantile function of 2d6 + 5
qroll_plot(2 * d6 + 5)
# Roll 2d6 + 5
rroll_plot(1000, 2 * d6 + 5)
# }
Run the code above in your browser using DataLab