Skip to content
Snippets Groups Projects
Verified Commit 6a6e08fa authored by Laurent Modolo's avatar Laurent Modolo
Browse files

add link between session 1 to 6

parent 9a5ec800
Branches
No related tags found
No related merge requests found
...@@ -758,4 +758,4 @@ unloadNamespace("ggplot2") ...@@ -758,4 +758,4 @@ unloadNamespace("ggplot2")
sessionInfo() sessionInfo()
``` ```
##See you in [Session 2 : "Introduction to Tidyverse"](session_2.html) ## See you in [Session 2 : "Introductionto Tidyverse"](http://perso.ens-lyon.fr/laurent.modolo/R/session_2/)
...@@ -500,6 +500,8 @@ ggplot(data = mpg, mapping = aes(x = displ, y = hwy, color = drv)) + ...@@ -500,6 +500,8 @@ ggplot(data = mpg, mapping = aes(x = displ, y = hwy, color = drv)) +
</p> </p>
</details> </details>
## See you in [R.3: Transformations with ggplot2](http://perso.ens-lyon.fr/laurent.modolo/R/session_3/)
# To go further: publication ready plots # To go further: publication ready plots
Once you have created the graph you need for your publication, you have to save it. Once you have created the graph you need for your publication, you have to save it.
......
...@@ -343,3 +343,4 @@ ggplot(data = diamonds, mapping = aes(x = cut, fill = cut)) + ...@@ -343,3 +343,4 @@ ggplot(data = diamonds, mapping = aes(x = cut, fill = cut)) +
By combining the right **geom**, **coordinates** and **faceting** functions, you can build a large number of different plots to present your results. By combining the right **geom**, **coordinates** and **faceting** functions, you can build a large number of different plots to present your results.
## See you in [R.4: data transformation](http://perso.ens-lyon.fr/laurent.modolo/R/session_4/)
...@@ -410,3 +410,5 @@ mutate( ...@@ -410,3 +410,5 @@ mutate(
- Cumulative and rolling aggregates: R provides functions for running sums, products, mins and maxes: `cumsum()`, `cumprod()`, `cummin()`, `cummax()`; and dplyr provides `cummean()` for cumulative means. - Cumulative and rolling aggregates: R provides functions for running sums, products, mins and maxes: `cumsum()`, `cumprod()`, `cummin()`, `cummax()`; and dplyr provides `cummean()` for cumulative means.
- Logical comparisons, `<`, `<=`, `>`, `>=`, `!=`, and `==` - Logical comparisons, `<`, `<=`, `>`, `>=`, `!=`, and `==`
- Ranking: there are a number of ranking functions, but you should start with `min_rank()`. There is also `row_number()`, `dense_rank()`, `percent_rank()`, `cume_dist()`, `ntile()` - Ranking: there are a number of ranking functions, but you should start with `min_rank()`. There is also `row_number()`, `dense_rank()`, `percent_rank()`, `cume_dist()`, `ntile()`
## See you in [R#5: Pipping and grouping](http://perso.ens-lyon.fr/laurent.modolo/R/session_5/)
...@@ -394,3 +394,5 @@ flights %>% ...@@ -394,3 +394,5 @@ flights %>%
``` ```
</p> </p>
</details> </details>
## See you in [R.6: tidydata](http://perso.ens-lyon.fr/laurent.modolo/R/session_6/)
...@@ -134,7 +134,7 @@ table2 %>% ...@@ -134,7 +134,7 @@ table2 %>%
Sometime the information can be split between different table Sometime the information can be split between different table
```{r airlines, eval=F, echo = T} ```{r airlines, eval=T, echo = T}
library(nycflights13) library(nycflights13)
flights flights
airlines airlines
...@@ -243,3 +243,5 @@ These expect the x and y inputs to have the same variables, and treat the observ ...@@ -243,3 +243,5 @@ These expect the x and y inputs to have the same variables, and treat the observ
- `intersect(x, y)`: return only observations in both `x` and `y`. - `intersect(x, y)`: return only observations in both `x` and `y`.
- `union(x, y)`: return unique observations in `x` and `y`. - `union(x, y)`: return unique observations in `x` and `y`.
- `setdiff(x, y)`: return observations in `x`, but not in `y`. - `setdiff(x, y)`: return observations in `x`, but not in `y`.
## See you in [R.7: String & RegExp](http://perso.ens-lyon.fr/laurent.modolo/R/session_7/)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment