Jenny Bryan tutorial
A simple package used to demonstrate package development with devtools. The package implements some simple tools for working with discrete random variables, inspired by code written by Andreas Buja.
library(rv2)
dice <- rv(1:6)
dice
plot(dice)
P(dice > 3)
E(dice)
rsim(dice, 100)
This change was made in the GitHub web interface.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.