[18918] in s-news-athena
[S] Frequency counts
daemon@ATHENA.MIT.EDU (Steve Bousquin)
Wed Aug 11 13:53:54 1999
Message-Id: <37B1B72F.F9E769BC@sfwmd.gov>
Date: Wed, 11 Aug 1999 13:47:27 -0400
From: "Steve Bousquin" <sbousqu@sfwmd.gov>
Reply-To: sbousqu@sfwmd.gov
Mime-Version: 1.0
To: "s-news@wubios.wustl.edu" <s-news@wubios.wustl.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Is there an S-Plus function that will count the number of
unique values or text items in a column, and give the number
of occurrances of each alongside the value
or text ?
E.g., for a column that reads:
At
B
A
A
B
A
A
C
I want output that reads:
A 3
At 1
B 2
C 1
Thanks!
=======================================
Steve Bousquin
Kissimmee River Restoration Division
South Florida Water Management District
West Palm Beach, FL
sbousqu@sfwmd.gov
=======================================
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news