📊 03 - Visualization and Directed Acyclic Graphs (DAGs)

Table of Contents

Today’s session

  • identify the rationale of the grammar of graphics in ggplot2
  • create visualizations with ggplot2
  • identify basic functionalities of ggdag for DAG creation in R

Download slides - PDF


Further references

For R and RMarkdown
      Reminder of the basics: https://tinyurl.com/vkebh2f
      RMarkdown: The definitive guide https://tinyurl.com/y4tyfqmg
      Data wrangling with dplyr: https://tinyurl.com/vyrv596
      dplyr video tutorial: https://www.youtube.com/watch?v=jWjqLW-u3hc

For learning more about DAGs and ggdag:

      An Introduction to DAGs: https://ggdag.netlify.com/articles/intro-to-dags.html
      Introduction to ggdag: https://ggdag.netlify.com/articles/intro-to-ggdag.html
      Bias structures: https://ggdag.netlify.com/articles/bias-structures.html

More info about ggplot2

      The complete ggplot tutorial: http://r-statistics.co/Complete-Ggplot2-Tutorial-Part1-With-R-Code.html

Helpful cheatsheets

      Data visualization with ggplot: https://rstudio.com/wp-content/uploads/2015/03/ggplot2-cheatsheet.pdf
      Data wrangling with dplyr and tidyr: https://tinyurl.com/s6zxfqh
      RMarkdown cheatsheet: https://tinyurl.com/uqoelrx


Meet your instructors

Lisa Oswald & Sebastian Ramirez Ruiz