[R] putting regression output right on a plot

2012-01-04 Thread Mark Leeds
hi: does anyone know if it's possible and, if so, where there's an example, of putting the output of summary(lm) right on the plot of the data itself. If the answer is to use capture.output and then text, I'll try that but I was thinking there might be an example somewhere ? thanks.

Re: [R] putting regression output right on a plot

2012-01-04 Thread David Winsemius
On Jan 4, 2012, at 11:30 AM, Mark Leeds wrote: hi: does anyone know if it's possible and, if so, where there's an example, of putting the output of summary(lm) right on the plot of the data itself. If the answer is to use capture.output and then text, I'll try that but I was thinking