Aim of the package
- Make it possible to use the grammar of graphics in some cases for which until now ad-hoc solutions were needed.
- Show how easy it can be to write new statistics for ‘ggplot2 (>= 2.0.0)’.
Case 1 (Stackoverflow question)
“Adding a 3rd order polynomial and its equation to a ggplot in r”
Re-stated problem
“Adding a label with the R^2 or adjusted R^2 value from any lm()
fit for each group and panel of a ggplot”
“Adding a polynomial of any degree and its equation for each group and panel of a ggplot”
Continue reading“R tips 3: ggpmisc adds new stats to ‘ggplot2’”