[R] plotting text tables

Jonathan Baron baron at cattell.psych.upenn.edu
Tue Nov 13 18:20:12 CET 2001


>From owner-r-help at stat.math.ethz.ch Tue Nov 13 12:07:32 2001
>Could anyone provide me a function to plot text tables (formatted)
>in a graphical device (ie postcript) ???

If you mean you want to print the table, the xtable package in
CRAN will make very nice LaTeX output of a table.  Then use LaTeX
to convert that to PostScript (through dvi - although dvi itself
may be useful as a substitute a Power-Point-type presentation,
using xdvi full screen).

If you mean that you want a graph of the contents of the table,
just try plot(table(...)), or perhaps plot.table().  I was amazed
to see what happened when I did this.  It is a truly clever idea,
and I had never seen it before.

Jon Baron
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list