hi there
I have a dataframe

abc 123  234
abc 234 456
def 567 234
elm 123 456
klm 234 678
klm 465 678

I want the unique of first colum along with the values in colum 2 and 3.I By
default it will select the first element for the unique so my out put should
be
abc 123  234
def 567 234
elm 123 456
klm 234 678


I tried something like 
cbind(unique(DF1[,1],DF1[unique(DF1[,1],c(2,3)] I didnt work

kindly give me some suggestions

Regards
Ramya

-- 
View this message in context: 
http://www.nabble.com/Data-frame-help-tp20668919p20668919.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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