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 

[EMAIL PROTECTED] | 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@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.

Reply via email to