Background materials:
For the lab this week, we will work through this set of exercises.
If you know ggplot well already and/or have time, work through this tutorial about dplyr.
Useful free resources:
Books:
There are a lot of ways to do this! Here’s one that works well.
So, here is what we do:
tiff('plot.tiff',height=x,width=y,res=600)
This makes a really big file!
convert plot.tiff -set colorspace RGB -layers flatten -alpha off \
-compress lzw -depth 8 -density 600 -adaptive-resize 4500x2400 plot.compressed.tif
convert plot.compressed.tif plot.compressed.pdf
We have a shell script online to automate the process. Get it here.