Advanced Graphics in R
Each quarter the UCLA Statistical Consulting Center hosts minicourses twice per week in R and LaTeX. Tonight was my turn to present.
I presented Advanced Graphics in R. This was the same presentation I gave at the LA R Users’ Group in August will a fellow consultant. She and I had trouble coming together to make one presentation, so we shared our outlines, and we deemed her outline was deemed “Intermediate Graphics in R” with some ggplot, and mine was deemed “Advanced.” It seems to work.
My slides are here, and the handout version is here. The corresponding code is here.
- Customizing graphics with par parameters
- Using attributes of graphic objects
- Basic graphics devices
- Math typesetting for R graphics.
- an example of a movie (here, but there is some funkiness with it)
Many think that “advanced” graphics would be lattice or ggplot. We chose to address those packages in their own minicourses.
My advisor gave me some good advice on writing R code that fits well in Beamer slides and lstlisting:
- use local variables and introduce them.
- don’t use function names as variable names (I violated this one here).
To leave a comment
for the author, please follow the link and comment on their blog: Byte Mining » R
offers daily e-mail updates
news and tutorials
on topics such as: visualization (ggplot2
), programming (RStudio
, Web Scraping
) statistics (regression
, time series
) and more...
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook