Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » sci.math.* » sci.stat.math.independent

Topic: Summary Question
Replies: 4   Last Post: Feb 17, 2012 4:18 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
SChapman

Posts: 8
Registered: 1/20/12
Summary Question
Posted: Feb 16, 2012 5:22 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I am using SPlus and I have a simple vector. I would like to summarise
this data by calculating the frequency of data items. The resulting
two dimension vector/frame, I would like to store in my data frame. Is
there is a simple way to do this?

I am struggling with this and I have checked the help file and google
and I have not found the answer. Can you please point me in the right
direction?

Input = 1,1,1,2,3,3,3,4,5,6,7,7,7,7,7
Output =

Value Frequency
----------------------------------
1 2
2 1
3 3
4 1
5 1
6 1
7 5

Thank you for reading the post.




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2013. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.