Summer Workshop Series: Crafting Publication Quality Data Visualizations With ggplot2
HTML-код
- Опубликовано: 21 авг 2024
- Date: June 12, 2023
Instructor: Eric Scott
If you know how to make basic plots with ggplot2, but struggle to add on finishing touches like specifying colors, customizing axes, adding text to plots, and creating multi-panel figures, then this workshop is for you!
Slides: cct-datascienc...
Really helpful tutorial. I really liked the emphasis on the process for figuring out how to change a particular element rather then a long list of how to change each element. One tip that people might find helpful. There is a Rstudio addin called datapasta which easily converts the list of colour hex codes captured in the wild into an R vector with quotation marks, commas etc. Saves so much tedious editing.
Glad it was helpful! The datapasta package is indeed magical and would have been helpful here. Thanks for the tip!
38:00 It is not better to change anything in the data. Make your data great and then do not touch it ever again. If you want to change anything in a plot, do it in the plotting function. That way, when you need to switch between your first language and English, you always know where to to that and you know, that you do not have to adjust any other code to your plot adaptation.