[19376] in s-news-athena
[S] Repeating a Data Frame
daemon@ATHENA.MIT.EDU (Humbolt, Allen)
Fri Oct 1 18:28:29 1999
Message-Id: <8FE5933BB8DBD111803F00805F9F74BD025B851A@ictmail10.kochind.com>
From: "Humbolt, Allen" <HumboltA@kochind.com>
To: "'s-news@wubios.wustl.edu'" <s-news@wubios.wustl.edu>
Date: Fri, 1 Oct 1999 17:19:32 -0500
Mime-Version: 1.0
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit
I've got a dataframe I'll call "Dat" that I'd like to repeat 27 times.
I want to do something like
BigDat <- rbind(rep(Dat, 27))
but that doesn't work like I want when Dat is a dataframe.
It just creates the same number of rows with my columns repeated 27 times.
I want BigDat to have the same number of columns with 27 times as many rows.
Can someone show me how to do this?
Allen Humbolt
Koch Industries, Inc.
humbolta@kochind.com
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news