Add_R2 | R Documentation |
This is an idea and code taken from Anatolli Tsyplenkov https://github.com/atsyplenkov to add the R2 statistic to a ggplot.
Add_R2(...)
... |
Additional params to add to stat_poly_eq. |
A ggplot layer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.