Re: [R] add to vector without duplicatation

2008-08-28 Thread Nicky Chorley
2008/8/28 Yuan Jian <[EMAIL PROTECTED]>: > Hi, > > I try to add items to a vector, but when the it has existed, the item should > be skipped. > does anyone know how to do it a simple way? You might be able to use unique(). Regards, Nicky Chorley __ R

[R] add to vector without duplicatation

2008-08-27 Thread Yuan Jian
Hi,   I try to add items to a vector, but when the it has existed, the item should be skipped. does anyone know how to do it a simple way?     Yu [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.eth