[R] Arranging the data

namit saileshchowdary at gmail.com
Thu Jul 26 06:30:17 CEST 2012

Hi Friends, 

Need help:----I have data frame x       z         y 
                                                              ss      1       
                                                              aa     3       
                                                              cc      2       

i need to  arrange  x column ,so that it should be in this form  x     z    
aa   3     0 
ss    1     2 
cc    2     5 

Can anyone help me on this. 

Thanks in Advance 

View this message in context: http://r.789695.n4.nabble.com/Arranging-the-data-tp4637865.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list