2016-10-12 22:27:58 +08:00
|
|
|
# R for Data Science
|
2022-03-21 22:24:42 +08:00
|
|
|
|
2018-06-20 16:05:58 +08:00
|
|
|
[![Travis build status](https://travis-ci.org/hadley/r4ds.svg?branch=master)](https://travis-ci.org/hadley/r4ds)
|
2015-07-28 05:52:19 +08:00
|
|
|
|
2022-03-21 22:24:42 +08:00
|
|
|
This repository contains the source of [R for Data Science](http://r4ds.had.co.nz) book.
|
|
|
|
The book is built using [bookdown](https://github.com/rstudio/bookdown).
|
2015-07-28 05:52:19 +08:00
|
|
|
|
2016-02-16 03:40:19 +08:00
|
|
|
The R packages used in this book can be installed via
|
|
|
|
|
|
|
|
```{r}
|
|
|
|
devtools::install_github("hadley/r4ds")
|
|
|
|
```
|
2020-10-06 06:56:27 +08:00
|
|
|
|
2022-03-21 22:24:42 +08:00
|
|
|
## Images
|
|
|
|
|
|
|
|
### Omnigraffle drawings
|
|
|
|
|
|
|
|
- Font: 12pt Ubuntu mono
|
|
|
|
- Export as 300 dpi png.
|
|
|
|
- Website font is 18 px = 13.5 pt, so scale dpi to match font sizes: 270 = 300 \* 12 / 13.5
|
|
|
|
- Verified sizes are visually equivalent by screenshotting.
|
|
|
|
|
|
|
|
```{=html}
|
|
|
|
<!-- -->
|
|
|
|
```
|
|
|
|
#| echo: FALSE
|
|
|
|
#| out.width: NULL
|
|
|
|
knitr::include_graphics("diagrams/transform.png", dpi = 270)
|
|
|
|
|
2020-10-06 06:56:27 +08:00
|
|
|
## Code of Conduct
|
|
|
|
|
2022-03-21 22:24:42 +08:00
|
|
|
Please note that r4ds uses a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html).
|
|
|
|
By contributing to this book, you agree to abide by its terms.
|