Skip to content
Prev 299548 / 398503 Next

unique vs duplicate problem

Here is one way of doing it -- you can create your own functions:
+ function (value)
+ {
+     duplicated(value) | duplicated(value, fromLast = TRUE)
+ }
[1] 3
[1] 1 2

        
On Mon, Jul 9, 2012 at 12:42 PM, Nico902 <descostes at ciml.univ-mrs.fr> wrote: