[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.

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


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 there might be an example somewhere ? thanks.



http://finzi.psych.upenn.edu/R/library/gplots/html/sinkplot.html
http://finzi.psych.upenn.edu/R/library/gtools/html/capture.html



[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


David Winsemius, MD
West Hartford, CT

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.