The latest stable release is available on CRAN, and can be loaded by calling install.packages("discreteRV"). If you would like to install the current revision on GitHub, please follow these instructions:
-
Install the R package "devtools" with the following command:
install.packages("devtools")
-
Load the devtools package with the following command:
library(devtools)
-
Using the install_github function, install discreteRV with the following command:
install_github("erichare/discreteRV")
-
Load the library with the following command:
library(discreteRV)
-
You're done!