GetEqn gets the equation for various models in a human readable format

GetEqn(m)

Arguments

m

a model object

References

original lm_eqn and inspiration from this SO post http://stackoverflow.com/questions/7549694/ggplot2-adding-regression-line-equation-and-r2-on-graph.