D-Lab's 3 hour introduction to data visualization with R. Learn how to create histograms, bar plots, box plots, scatter plots, compound figures, and more using ggplot2 and cowplot.
Generally, the following link might be helpful for instructors to have handy in case of 'what's that parameter' questions: https://rdrr.io/r/graphics/par.html
More specifically, the las parameter isn't explained in the body of the text and isn't super common, so having it in the code is perhaps unnecessarily confusing? I'd suggest removing it, but if keeping in, add note to script somewhere in case it comes up, las parameter does the following:
las
numeric in {0,1,2,3}; the style of axis labels.
Generally, the following link might be helpful for instructors to have handy in case of 'what's that parameter' questions: https://rdrr.io/r/graphics/par.html
More specifically, the las parameter isn't explained in the body of the text and isn't super common, so having it in the code is perhaps unnecessarily confusing? I'd suggest removing it, but if keeping in, add note to script somewhere in case it comes up, las parameter does the following:
las numeric in {0,1,2,3}; the style of axis labels.
0:
1:
2:
3: