Chapter 11 Statistic
11.8 GGplot2
GGplot 2 is an open-source data visualization package for the statistical programming language R that provides helpful commands to create complex plots from data in a data frame.
- Aesthetic specifications “aes()” This vignette summarises the various formats that grid drawing functions take.
can be specified by using a “name” (e.g. red), a rgb specification with a string of the form “#RRGGBB”; NA, for a completely transparent colour.
can be chosen by using one of the following integer or name: 0 = blank, 1 = solid, 2 = dashed, 3 = dotted, 4 = dotdash, 5 = longdash, 6 = twodash, shown below: