[R] Displaying a summary in graphics

Greg Snow Greg.Snow at imail.org
Fri Aug 5 21:36:01 CEST 2011


Use the capture.output function with printing the summary of the anova, then pass that to your function.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Aram Fingal
> Sent: Friday, August 05, 2011 1:16 PM
> To: r-help at r-project.org
> Subject: Re: [R] Displaying a summary in graphics
> 
> 
> On Aug 5, 2011, at 1:44 PM, Jean V Adams wrote:
> 
> >
> > A search of the R-help archives may provide some help.
> >
> > See, for example, http://r.789695.n4.nabble.com/including-tabular-
> information-with-a-plot-in-R-Graphics-tt885431.html
> >
> 
> Actually, I already read through those posts and they don't address the
> issue that I am having at all.  The text provided to textplot() and
> addtable2plot() have to already be formatted.  They give the same
> messed up output as mtext() does.   In addition to that, I want the
> summary to appear outside of several other graphics objects, not inside
> of an existing plot.
> 
> There is also a mention of using LaTex to process the graphics but I
> would much rather have an easier solution than that.
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list