[R] repeating a dataframe n times in the direction of the rows

AlessandroSemeria@cramont.it AlessandroSemeria at cramont.it
Mon Nov 11 12:51:16 CET 2002


You can use 't' to transpose your data.frame then you do what you said
by 'cbind' and at last you transpose again.

Best!
A.S.
----------------------------------
Sincerely yours.

Dr. Alessandro Semeria                             Tel. +39 544 536811
Models and Simulation Lab of                                 Fax. +39 544
538663
The Environment Research Center - Montecatini (Edison Group),
E-mail: asemeria at cramont.it
Via Ciro Menotti 48,
48023 Marina di Ravenna (RA), Italy


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