-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.Rmd
40 lines (27 loc) · 3.13 KB
/
index.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
---
title: "Solutions to ggplot2: Elegant Graphics for Data Analysis"
author: "Howard Baek"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
documentclass: book
# url: your book url like https://bookdown.org/yihui/bookdown
# cover-image: path to the social sharing image like images/cover.jpg
description: |
Solutions manual to the exercises in the ggplot2 book
biblio-style: apalike
csl: chicago-fullnote-bibliography.csl
---
# Welcome {-}
<img src="img/ggplot2-cover.png" class="cover" width="220" height="328"/>This is the website for **Solutions to ggplot2: Elegant Graphics for Data Analysis**, a solutions manual to the exercises in the 3rd edition of [ggplot2: Elegant Graphics for Data Analysis](https://ggplot2-book.org/index.html), written by Hadley Wickham, Danielle Navarro, and Thomas Lin Pedersen. While there are `bookdown` solution manuals to Hadley Wickham's [Advanced R](https://advanced-r-solutions.rbind.io/) and [Mastering Shiny](https://mastering-shiny-solutions.netlify.app/), there is no such thing for the ggplot2 book. This website is an attempt to fill this missing void.
The solutions are entirely worked out by [Howard Baek](http://insidethetv.rbind.io/). In Chapters 2 and 3, some solutions are from [Manuel Rademaker](https://github.com/M-E-Rademaker/ggplot2-book-solutions) and [kangnade](https://github.com/kangnade/ggplot2-solutions).
If my work has helped you, [you can buy me a coffee on Ko-fi!](https://ko-fi.com/howardbaek)
## About the Author
[_Howard Baek_](http://insidethetv.rbind.io/) is a Master’s Student in Biostatistics at the University of Washington and has been programming in R since 2016. He is an avid tidyverse user (his blog is named "Inside the Tidyverse") and has used `ggplot2` extensively for data visualization in his [projects](https://github.com/howardbaek).
## Notes on the book
- Many book chapters do not contain exercises : Chapters 6~9, 12, 13, 16, 18, 20~22.
- I acknowledge using Manuel Rademaker's solutions with (Rademaker, 2016) and kangnade with (kangnade).
- I didn't know the answer to a couple exercises, and noted these down by writing "Not sure". Particularly, the later exercises in Chapter 19 were challenging.
- Please submit a pull request if you want to contribute to these solutions!
## Acknowledgements
I want to acknowledge the authors of the ggplot2 book, Hadley Wickham, Danielle Navarro, and Thomas Lin Pedersen, for writing an awesome book and providing it online. Yihui Xie's work in the bookdown package has allowed the smooth creation of this book and many others. Also, the book's format closely mirrors that of [Advanced R Solutions](https://advanced-r-solutions.rbind.io/), which is a complete solution manual that has been published into a [physical book](https://twitter.com/RobCalver5/status/1434926626408701962). I want to thank Maya Gans and Marly Gotti, who gave me advice on setting up the website. Finally, Alison Hill and Desirée De Leon's talk, [Sharing on Short Notice](https://youtu.be/QcE4RBH2auQ), made getting this book online smooth and easy.
A huge thank you to the following contributors who suggested improvements: [EatsleepfitJeff](https://twitter.com/EatsleepfitJeff)