[R] Output (graphics and table/text)
baptiste auguie
baptiste.auguie at googlemail.com
Thu Aug 5 12:17:48 CEST 2010
Hi,
To add tables, the gplots package has a textplot() function, and for
Grid graphics there is a grid.table() function in gridExtra.
HTH,
baptiste
On 5 August 2010 00:02, Ralf B <ralf.bierig at gmail.com> wrote:
> Hi R Users,
>
> I need to produce a simple report consisting of some graphs and a
> statistic. Here simplification of it:
>
> # graphics output test
> a <- c(1,3,2,1,4)
> b <- c(2,1,1,1,2)
> c <- c(4,7,2,4,5)
> d <- rnorm(500)
> e <- rnorm(600)
> op <- par(mfrow=c(3,2))
> pie(a)
> pie(b)
> pie(c)
> text(ks.test(d,e))
>
> obviously, the ks.test does not make it to the output. How can this be
> archived by a) simply dumpting the text into the fourth quad so that
> coordination is relative to the quarter? b) the output is actually
> presented as a little table without the need to use a LaTeX solution?
>
> Thanks a lot,
> Ralf
>
> ______________________________________________
> 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