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

Sincerely yours.

Dr. Alessandro Semeria                             Tel. +39 544 536811
Models and Simulation Lab of                                 Fax. +39 544
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