s-news
[Top] [All Lists]

simple function

To: <s-news@lists.biostat.wustl.edu>
Subject: simple function
From: "Leeds, Mark" <mleeds@mlp.com>
Date: Sat, 11 Jun 2005 23:48:14 -0400
Cc: <cspark@ces.clemson.edu>
Thread-index: AcVvAY9f8+Cl6QAPR6yuO/Tmgsd7fw==
Thread-topic: simple function

I have a vector that

Has names

 

So it might be

 

AAA   BBB     AAA  CCC        BBB

 3         4          3        2            4

 

so I want a function that  returns as

below ( just the unique names ).

 

AAA      BBB     CCCC

 

 3            4            2

 

also, if it has the same name it will

always have the same #  so

the case of same name with different

number doesn’t have to be dealt with.

 

 

                                    thanks

<Prev in Thread] Current Thread [Next in Thread>