GetEqn gets the equation for various models in a human readable format
GetEqn(m)
| m | a model object |
|---|
original lm_eqn and inspiration from this SO post http://stackoverflow.com/questions/7549694/ggplot2-adding-regression-line-equation-and-r2-on-graph.