[R] List of lists???

Stephane CRUVEILLER scruveil at genoscope.cns.fr
Tue Jan 31 15:30:41 CET 2006


Hi,

I would like to perform computations on some variables belonging to the same 
dataframe. For instance my data frame has the following shape:
        toto1   toto2   toto3   toto4   toto5
1       1       2       3       4       5
2       6       7       8       9       10

I would like to perform the calculation on c("toto1","toto2","toto3") and then 
the same calculation on c("toto4","toto5"). Is there a way to tell R to do it 
using a loop (a list of lists)??

Stephane.
-- 
==========================================================
Stephane CRUVEILLER Ph. D.
Genoscope - Centre National de Sequencage
Atelier de Genomique Comparative
2, Rue Gaston Cremieux   CP 5706
91057 Evry Cedex - France
Phone: +33 (0)1 60 87 84 58
Fax: +33 (0)1 60 87 25 14
EMails: scruveil at genoscope.cns.fr ,scruvell at infobiogen.fr




More information about the R-help mailing list