[R] combining/deleting rows

From: Suran, Luciana _at_ Torto Wheaton Research <_at_>
Date: Mon, 10 Mar 2008 12:50:20 -0700


Hello List,  

I'm new to R and have some question on combining (and deleting) rows.  

I have a dataset that looks like this:    

msa_id

base_sf.2002.2

compltns.2002.2

absorption.2002.2

avrate.2002.2

1

AKRON 27918

0

-1420

19

24

ALBUQU 20469

77

-23

9.2

100

ALLENT 41490

0

-208

19

129

AARBOR 6264

0

62

18

178

ATLANT 395974

1486

638

16.6

254

AUSTIN 34000

31

153

15

330

BALTIM 121080

361

-3447

17.7    

How can I add row 1 to row 24? Also, how can I delete rows from the dataframe?    

Thanks so much in advance,

Luciana  

Luciana Suran | Economist

CBRE Torto Wheaton Research | Research

200 High Street, 3rd Floor | Boston, MA 02110

T 617 912 5204 | F 617 912 5240

LSuran_at_tortowheatonresearch.com | www.tortowheatonresearch.com  

Please consider the environment before printing this email.  

This email may contain information that is confidential or attorney-client privileged and may constitute inside information. The contents of this email are intended only for the recipient(s) listed above. If you are not the intended recipient, you are directed not to read, disclose, distribute or otherwise use this transmission. If you have received this email in error, please notify the sender immediately and delete the transmission. Delivery of this message is not intended to waive any applicable privileges.    

        [[alternative HTML version deleted]]



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 Mon 10 Mar 2008 - 20:00:47 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 Tue 11 Mar 2008 - 03:30:21 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