[R] Iterative data.frame

Nolwenn Le Meur nolwenn.lemeur at nantes.inserm.fr
Tue Sep 24 14:27:58 CEST 2002


Hi,
I would like to create data.frame and increment their name to finally merge
them.
Does anybody has a solution ?

Something like that ?

n<-6
for (i in 1:n) {
      m[i]<-data.frame(name,value)
	m<-merge(m[i]:m[n])
}


Nolwenn
********************************************
Nolwenn Le Meur
INSERM U533
Faculté de médecine
1, rue Gaston Veil
44035 Nantes Cedex 1
France

Tel: (+33)-2-40-41-29-86 (office)
     (+33)-2-40-41-28-44 (secretary)
Fax: (+33)-2-40-41-29-50
mail: nolwenn.lemeur at nantes.inserm.fr
********************************************

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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