Try :
unique(c(a,b,a,c))
On Thu, Aug 27, 2009 at 10:48 AM, mirauta wrote:
>
> Hello,
>
> I have the vector (a,b,a,c) and I trying to obtain it's distinct elements
> in
> another vector.
> Is there a function that can do this?
>
> Thanks,
> Bogdan
> --
> View this message in context:
> http://ww
Hello,
I have the vector (a,b,a,c) and I trying to obtain it's distinct elements in
another vector.
Is there a function that can do this?
Thanks,
Bogdan
--
View this message in context:
http://www.nabble.com/distinct-elements-of-a-vector-tp25168032p25168032.html
Sent from the R help mailing l
2 matches
Mail list logo