knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-",
  fig.width = 6, 
  fig.height = 2.3,
  fig.align = "center"
)
library(ggplot2)
theme_set(theme_bw())

fastR2

This package contains data sets and some utility functions to support Foundations and Applications of Statistics: An Introduction Using R by Randall Pruim.

Installation

The package can be installed from CRAN via

install.packages("fastR2")

or from github via

# install.packages("devtools")
devtools::install_github("rpruim/fastR2")

Snippets

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")


rpruim/fastR documentation built on Nov. 12, 2023, 12:26 p.m.