[R] repeating a dataframe n times in the direction of the rows
Thomas Lumley
tlumley at u.washington.edu
Mon Nov 11 17:24:55 CET 2002
On Mon, 11 Nov 2002 AlessandroSemeria at cramont.it wrote:
>
> You can use 't' to transpose your data.frame then you do what you said
> by 'cbind' and at last you transpose again.
This turns out not to be the case. It only works if all your variables
are of the same type.
-thomas
Thomas Lumley Asst. Professor, Biostatistics
tlumley at u.washington.edu University of Washington, Seattle
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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