-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathREADME.Rmd
54 lines (39 loc) · 1.12 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, echo = FALSE}
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*](https://bookstore.ams.org/amstext-28/)
by Randall Pruim.
## Installation
The package can be installed from CRAN via
```{r cran-installation, eval = FALSE}
install.packages("fastR2")
```
or from github via
```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("rpruim/fastR2")
```
<!-- [![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/fastR2)](https://cran.r-project.org/package=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:
```{r snippet, message = FALSE}
require(fastR2)
snippet("histogram01")
```