This package contains data sets and some utility functions to support Foundations and Applications of Statistics: An Introduction Using R by Randall Pruim.
The package can be installed from CRAN via
install.packages("fastR2")
or from github via
# install.packages("devtools")
devtools::install_github("rpruim/fastR2")
In addtion to data sets, fastR2
contains a snippet()
function that
loads and executes code found in the text. Here is an example:
require(fastR2)
snippet("histogram01")
#>
#> ## snippet: histogram01
#>
#> > gf_histogram( ~ Sepal.Length, data = iris)