data that progress from low to high. Use light colors for low values and dark colors for higher. • Diverging – uses hue to show the breakpoint and intensity to show divergent extremes. • Qualitative – uses different colors to represent different categories. Beware of using hue/saturation to highlight unimportant categories.
• ~8% of men are red-green colorblind • Diverging schemes don’t do well when printed or photocopied • Colors will often render differently on different screens, especially low-end LCD screens • http://colorbrewer2.org
packages for any kind of analysis • Saves time repeating data processing steps • Allows working with more diverse types of data and much larger datasets than Excel • Processing is much faster than Excel • Scripts are easily shareable, promoting reproducible work
coords of points • abline – line layer – takes slope, intercept • line – connect points with a line • smooth – fit a curve • bar – aka histogram – takes vector of data • boxplot – box and whiskers • density – to show relative distributions • errorbar – what it says on the tin