[R] table in x-y diagram

Paul Murrell p.murrell at auckland.ac.nz
Mon Jun 23 00:47:09 CEST 2003


Hi


Christian Schulz wrote:
> Hi,
> 
> i'm plotting some "bubbles" in a x-y diagram.
> I like to add a table like:
> cl80m <- aggregate(cl80,list(Cluster=cl80[,10]),mean)
> but, put it with:
> grid.text(as.data.frame(cl80m), x = unit(0.5, "npc"), y = unit(0.5, "npc"))
> i get it as list and not really to read.
> 
> Have anybody more experience, add small table's
> (6-9 rows, 3-8 colums) in a corner of a plot


There's a document discussing ways of creating a table using grid at
http://www.stat.auckland.ac.nz/~paul/grid/table.pdf

If you could provide me with an example that I could run (i.e., data 
included or randomly generated) I might be able to make more useful 
suggestions.

Paul
-- 
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz




More information about the R-help mailing list