Skip to content
Prev 87013 / 398502 Next

elements that appear only once

I am not sure whether this is desirable but here is another way just
in case:

   paste(setdiff(a, a[duplicated(a)]))

You could replace paste with as.character if you prefer or
could remove it entirely if you want the result as a factor.
On 2/22/06, Robin Hankin <r.hankin at noc.soton.ac.uk> wrote: