[R] a question

Gabor Grothendieck ggrothendieck at gmail.com
Thu Nov 24 08:29:02 CET 2005


Look at:

?setdiff

On 11/24/05, å­Ÿæ¬£ <xmeng at capitalbio.com> 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Â£Âºxmeng at capitalbio.com
> Address:18 Life Science Parkway,
> Changping District, Beijing 102206, China
>
>
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>




More information about the R-help mailing list