Use unique figure dirs
This commit is contained in:
parent
505c61cfb8
commit
844226da7c
2
eda.Rmd
2
eda.Rmd
|
@ -9,7 +9,7 @@ title: Exploratory data analysis
|
|||
library(ggplot2)
|
||||
knitr::opts_chunk$set(
|
||||
cache = TRUE,
|
||||
fig.path = "figures/"
|
||||
fig.path = "figures/eda/"
|
||||
)
|
||||
```
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ title: Expressing yourself in code
|
|||
```{r, include = FALSE}
|
||||
knitr::opts_chunk$set(
|
||||
cache = TRUE,
|
||||
fig.path = "figures/"
|
||||
fig.path = "figures/functions/"
|
||||
)
|
||||
```
|
||||
|
||||
|
|
|
@ -11,7 +11,10 @@ library(nycflights13)
|
|||
library(ggplot2)
|
||||
source("common.R")
|
||||
options(dplyr.print_min = 6, dplyr.print_max = 6)
|
||||
knitr::opts_chunk$set(fig.path = "figures/", cache = TRUE)
|
||||
knitr::opts_chunk$set(
|
||||
fig.path = "figures/transform/",
|
||||
cache = TRUE
|
||||
)
|
||||
```
|
||||
|
||||
Visualisation is an important tool for insight generation, but it is rare that you get the data in exactly the right form you need for visualisation. Often you'll need to create some new variables or summaries, or maybe you just want to rename the variables or reorder the observations in order to make the data a little easier to work with. You'll learn how to do all that (and more!) in this chapter which will teach you how to transform your data using the dplyr package.
|
||||
|
|
|
@ -8,7 +8,7 @@ title: Visualize
|
|||
```{r setup-visualise, include = FALSE}
|
||||
knitr::opts_chunk$set(
|
||||
cache = TRUE,
|
||||
fig.path = "figures/"
|
||||
fig.path = "figures/visualize/"
|
||||
)
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue