Look at: ?setdiff
On 11/24/05, 孟欣 <[EMAIL PROTECTED]> wrote: > Hello sir: > Here's a question: > x<-1:5 > y<-c(2,1,4) > > I wanna get the different elements between x & y,i.e. 3,5. > > How can I get the result(3,5) via R function? > > Thanks a lot for your help. > > My best! > > > > > > > > ------------------------------ > ******************************************* > Xin Meng > Capitalbio Corporation > National Engineering Research Center > for Beijing Biochip Technology > BioPharma-informatics & Software Dept. > Research Engineer > Tel: +86-10-80715888/80726868-6444 > Fax: +86-10-80726790 > [EMAIL PROTECTED] > Address:18 Life Science Parkway, > Changping District, Beijing 102206, China > > > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
