diff --git a/eda.Rmd b/eda.Rmd index f03ea4f..952f89e 100644 --- a/eda.Rmd +++ b/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/" ) ``` diff --git a/functions.Rmd b/functions.Rmd index 1e74d09..2702171 100644 --- a/functions.Rmd +++ b/functions.Rmd @@ -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/" ) ``` diff --git a/transform.Rmd b/transform.Rmd index 31193eb..23a7895 100644 --- a/transform.Rmd +++ b/transform.Rmd @@ -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. diff --git a/visualize.Rmd b/visualize.Rmd index 9895228..ba87b57 100644 --- a/visualize.Rmd +++ b/visualize.Rmd @@ -8,7 +8,7 @@ title: Visualize ```{r setup-visualise, include = FALSE} knitr::opts_chunk$set( cache = TRUE, - fig.path = "figures/" + fig.path = "figures/visualize/" ) ```