[R] remove similar values

Romain Francois rfrancois at mango-solutions.com
Tue Jan 29 11:14:58 CET 2008


Hi,

Not sure I understand the question, but maybe you need ?unique or 
?duplicated

Cheers,

Romain

mohamed nur anisah wrote:
> hello!!
>    
>   say that i have the values of x1 and x2. my x1 has longer length than x2. how am i going to remove the similar values of x1 and x2.  Any suggestion?? Thanks in advance!!
>    
>   Cheers,
>   Anisah
>    
>               e         f
>  [1,]  17358865  17906353
>  [2,]  17966995  21295547
>  [3,]  21306539  27880531
>  [4,]  27880531  34118702
>  [5,]  34166504  35395488
>  [6,]  36111044  36132622
>  [7,]  36266288  37916920
>  [8,]  36854306  43786190
>  [9,]  43786190  44322336
> [10,]  44322336  46302360
> [11,]  45529444  53494622
> [12,]  46302360  62105336
> [13,]  53479132  63817440
> [14,]  58567262  72637088
> [15,]  60564442  79875476
> [16,]  72637088  94545992
> [17,]  79875476  96506368
> [18,]  93155112 103123936
> [19,]  94372260 116908456
> [20,]  96643396 126190072
> [21,] 103123936 127446552
> [22,] 116908456 131781664
> [23,] 131781664 154658264
> [24,] 132968364 176302744
> [25,] 135945080 181670472
> [26,] 141788832 182625272
> [27,] 149924864 182878168
> [28,] 156539568 183946152
> [29,] 157817896        NA
> [30,] 162399496
>   [31,] 168344072  
>   [32,] 173146584  
>   [33,] 176302744  
>   [34,] 182878168  
>   [35,] 183946152  
>   [36,] 185068720  
>   [37,] 190791232  
>   [38,]        NA 
--
Introduction to R training course :: London :: 06-07 March 2008
http://www.mango-solutions.com/services/rtraining/r_intro.html



More information about the R-help mailing list