To run the code from the slides you’ll need, in addition to ggplot2, to have installed the packages: patchwork and ggridges.
packages <- c("patchwork", "ggridges)
for (package in packages) {
if (!package %in% installed.packages()) install.packages(package)
}
Find here the Rmarkdown file to follow and generate a graphic.
Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".
For attribution, please cite this work as
Mortara & Sánchez-Tapia (2022, July 20). Scientific Programming: Data visualization with R. Retrieved from https://scientific-computing.netlify.app/06_data_visualization.html
BibTeX citation
@misc{mortara2022data, author = {Mortara, Sara and Sánchez-Tapia, Andrea}, title = {Scientific Programming: Data visualization with R}, url = {https://scientific-computing.netlify.app/06_data_visualization.html}, year = {2022} }