Probability and Statistics with R, Second Edition.
PASWR2
Version 1.0.5
Alan T. Arnholt
PASWR2: Functions and data sets for the text Probability and Statistics with R, Second Edition
Please report any bugs or suggestions at: https://github.com/alanarnholt/PASWR2/issues.
Installation
The stable version of the package is available for download from .
You may install the most recent development version of PASWR2 using the devtools function install_github()
.
However, you need to make sure you're set up to develop packages. This is platform specific:
- On Windows, download and install Rtools.
- On the Mac, make sure you have Xcode installed.
- On Linux, make sure you have the R-dev packages installed.
You can check everything is installed correctly with the has_devel()
function from the devtools package. Type the following at the R prompt:
install.packages("devtools", dependencies = TRUE)
devtools::has_devel()
If everything is installed correctly, the function will print some output and then return TRUE.
To install the PASWR2 package, type the following at the R prompt:
devtools::install_github('alanarnholt/PASWR2')
It is possible to install PASWR2 with GIT and the R CMD build assuming you have GIT installed and the appropriate tools to build R from source.
git clone https://github.com/alanarnholt/PASWR2.git
R CMD build PASWR2
R CMD INSTALL PASWR2_*.tar.gz