Re: [R] remove similar values

From: Romain Francois <rfrancois_at_mango-solutions.com>
Date: Tue, 29 Jan 2008 10:14:58 +0000

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

______________________________________________
R-help_at_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.
Received on Tue 29 Jan 2008 - 10:22:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Jan 2008 - 11:30:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive