-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathindex.qmd
31 lines (16 loc) · 1.77 KB
/
index.qmd
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
# Preface {.unnumbered}
This book is a compilation of lecture notes used in an *Exploratory Data Analysis in R* course taught to undergraduates at Colby College. The course assumes little to no background in quantitative analysis nor in computer programming and was first taught in Spring, 2015. The course introduces students to data manipulation in R, data exploration (in the spirit of John Tukey's EDA) and the R markdown language. Many of the visualization techniques are adopted from William Cleveland's *Data Visualization* book.
The base R plotting environment and the `ggplot2` ecosystem are used throughout this book. While a chapter is dedicated to the `lattice` plotting package, its functions are not used outside of that chapter given that `ggplot2` offers many of `lattice`'s functionality.
While great effort is made to adopt a consistent plotting environment throughout this book (this being `ggplot2`, for the most part), a few topics (including the quantile-quantile plot and the median polish) will benefit from custom plotting functions available in the `tukeyedar` package. The [package](https://github.com/mgimond/tukeyedar/) can be downloaded from GitHub via the command:
```{r eval = FALSE}
install.packages("remotes")
remotes::install_github("mgimond/tukeyedar")
```
Functions making use of the `tukeyedar` package will be highlighted in a peach/pink code block as opposed to the default light yellow code block used for all other code chunks. For example, if `tukeyedar`'s `eda_qq` function is used, the code block will take on the following appearance:
```{r class.source="eda", eval=FALSE}
library(tukeyedar)
eda_qq(Tenor, Bass)
```
The `tukeyedar` functions are built off of base R graphics and require R vesion `4.1` or greater.
------------------
Manuel "Manny" Gimond