[R] writing a table in the device (pdf in this case)

From: Julien Colomb <julien.colomb_at_espci.fr>
Date: Sat, 10 May 2008 17:47:16 +0200


hello all,
I would like to introduce a summary table into the pdf along with the plots (in order to archive my data into single files automatically). Similarly, It would be great to have the result of the statistical analysis (for instance anova) in the same file.

Is there a way to do that?

example:
pdf("example.pdf")
layout (matrix(1:2,1,2))
plot (groups, scores)

Result <- cbind (samplesize, mean_score, sem_score) #calculated before ???

dev.off ()

-- 
_______________________________________________

Dr. Julien Colomb

Genes et Dynamique des Systemes de Memoire
CNRS UMR 7637
ESPCI
10 rue Vauquelin
75005 Paris
France
www.gdsm.espci.fr

tel +33 (0)1 40 79 51 23
fax +33 (0)1 40 79 52 29

AIM (ichat) or skype: thrawny1
	[[alternative HTML version deleted]]

______________________________________________
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.
Received on Sat 10 May 2008 - 17:22:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 12 May 2008 - 20:32:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive