[R] Insert rows into a pre-existing data frame

From: <naw3_at_duke.edu>
Date: Fri, 25 Jul 2008 10:27:15 -0400


Hi,

I'm sorry if this is a simple question. How do you insert a blank row into a data frame? I basically need to do this:

old table: new table:

C1  C2  C3           C1  C2  C3
1   32  34           1   32  34
2   52  23                   54
                     2   52  23

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 25 Jul 2008 - 14:32:09 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 25 Jul 2008 - 15:32:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive