Skip to content
Snippets Groups Projects
Commit 687a595a authored by hpolvech's avatar hpolvech
Browse files

1st exercice

parent 0cdd514d
No related branches found
No related tags found
1 merge request!6Switch to main as default branch
...@@ -424,6 +424,18 @@ We will use them here to decorate our graphs, either on data already studied in ...@@ -424,6 +424,18 @@ We will use them here to decorate our graphs, either on data already studied in
install.packages(c("ghibli", "RColorBrewer", "viridis")) install.packages(c("ghibli", "RColorBrewer", "viridis"))
``` ```
```{r load_library}
library(tidyverse)
library(RColorBrewer)
library(ghibli)
library(viridis)
```
Using `mpg` and the 'ggplot2' package, reproduce the graph studied in session 2, 3.1: color mapping.
Modify the colors representing the class of cars with the palettes `Dark2` of [RColorBrewer](https://www.datanovia.com/en/fr/blog/palette-de-couleurs-rcolorbrewer-de-a-a-z/), then `MononokeMedium` from [Ghibli](https://github.com/ewenme/ghibli).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment