Thank you!

Ken Knoblauch <knoblauch@lyon.inserm.fr> wrote:  
< then
< > a
<[1] 1 1 4 3 5
<
< is there any function to transform a to b:
< >b
< > a
<[1] 1 3 4 5

How about:

unique(sort(a))

or

sort(unique(a))

> Thanks!


-- 
Ken Knoblauch
Inserm U371
Cerveau et Vision
Dept. of Cognitive Neuroscience
18 avenue du Doyen Lépine
69500 Bron
France
tel: +33 (0)4 72 91 34 77
fax: +33 (0)4 72 91 34 61
portable: +33 (0)6 84 10 64 10
http://www.lyon.inserm.fr/371/




		
---------------------------------

	[[alternative HTML version deleted]]


