Tidyverse Pres
Tidyverse Pres
Damien Georges
▶ R core function
▶ tidyverse / dplyr
▶ data.table
▶ ...
=> The best tool is the one you feel the most comfortable with
Tidyverse (from www.tidyverse.org)
R packages for data science
The tidyverse is an opinionated collection of R packages designed
for data science. All packages share an underlying design
philosophy, grammar, and data structures.
pipe functions %>% or |>
chill(fold(add(melt(add(chocolate, butter)),
beat(add(eggs.white, cream))))
pipe functions %>%
chill(fold(add(melt(add(chocolate, butter)),
beat(add(eggs.white, cream))))
chocolate %>%
add(butter) %>%
melt() %>%
add(
eggs.white %>%
add(cream) %>%
beat()
) %>%
fold() %>%
chill()
Non-standard evaluation rules for function calls
▶ used in different R packages
▶ provide flexibility and ease of use
▶ more concise and expressive programming in R