[R] Adding a table to a plot

Frank E Harrell Jr f.harrell at vanderbilt.edu
Fri Jan 18 20:19:30 CET 2008


Judith Flores wrote:
> Hi R-experts,
> 
>    Is it possible to add a table (text and lines) to
> the plot area?
> 
> I have a data frame that looks something like this:
> 
>> mydata
> 
>  Time   SD   Mean
>    1    2.5   30
>    2    a.3   40
> 
> 
>     I am using R 2.6.1, in Windows.
> 
> Thank you,
> 
> Judith Flores

If you use LaTeX there is an elegant way to do that and to have full 
control over font, justification, etc.

Frank

>  
> 
> 
>       ____________________________________________________________________________________
> Looking for last minute shopping deals?
> 
> ______________________________________________
> 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.
> 


-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University



More information about the R-help mailing list