On Wed, 4 Aug 2010 18:02:41 -0400
Ralf B ralf.bie...@gmail.com wrote:
b) the output is actually
presented as a little table without the need to use a LaTeX solution?
If it's not imperative to have the ks.test output in the graphic, why
not copy/paste and use some monospace font?
Liviu
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.bie...@gmail.com wrote:
Hi R Users,
I need to produce a simple report consisting of some graphs and a
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,
Fun question.
Here is one solution that has come to mind:
# 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(2,2))
pie(a)
pie(b)
pie(c)
txt - capture.output(ks.test(d,e))
txt - txt[txt != ]
txt - paste(txt, collapse = \n )
4 matches
Mail list logo