david8373 wrote:
Hi guys,
I'm new to R and this might be a basic question. I want to have a plot with
a table right under it containing all the data in the plot. Is that possible
in R? How do to it?
Hi Yuhan,
Try this:
library(plotrix)
par(mfrow=c(2,1))
x<-rnorm(10)
y<-rnorm(10)
plot(x,y)
R is Not Excel, I think... But if you insist on "drawing" a table
below the graph, you may use rect() and text().
Why not add your numbers directly to your bars/lines/points/...? If
you can express the information in a table, why use a plot?
Regards,
Yihui
--
Yihui Xie <[EMAIL PROTECTED]>
Phone:
Hi guys,
I'm new to R and this might be a basic question. I want to have a plot with
a table right under it containing all the data in the plot. Is that possible
in R? How do to it?
Thanks!
Yuhan
--
View this message in context:
http://www.nabble.com/plotting-with-a-table-right-under-it-tp197
3 matches
Mail list logo