s-news
[Top] [All Lists]

[S] Summarize data into table

To: s-news@wubios.wustl.edu
Subject: [S] Summarize data into table
From: Abdul Rahman Kassim <rahmank@frim.gov.my>
Date: Thu, 29 Apr 1999 08:29:20 +0000 (GMT)
Reply-to: Abdul Rahman Kassim <rahmank@frim.gov.my>
Sender: owner-s-news@wubios.wustl.edu
Dear S-plus user,

I am new to S-plus and would appreciate any assistance. I am using S-plus
4.5 Release 2.

I have a large data sets (7000 records)  with 5 variables (2 categories
and 3 continous). I am interested to summarized the data set into a table with
variable 1 (categorical) as rows and variable 2 (categorical) as columns
and the cell contain the number of individual for variable 3 (continous).

I have tried using "aggregate" (as described in pg 74 Programmers Guide), but
thats only summarized the data by rows. For each column I have to write
each category of variable 2. This seemed to be impractical because I have
about 200 category. 
  
Thanks in advanced for any asistance.


Abd Rahman Kassim
Silviculturist,
Natural Forest Division
Forest Research Institute Malaysia
Kepong 52109
Kuala Lumpur
MALAYSIA






















-----------------------------------------------------------------------
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

<Prev in Thread] Current Thread [Next in Thread>
  • [S] Summarize data into table, Abdul Rahman Kassim <=