| To: | S-news@wubios.wustl.edu |
|---|---|
| Subject: | about aggregate |
| From: | "Shin, David" <David_Shin@ctb.com> |
| Date: | Thu, 20 Jun 2002 10:02:38 -0700 |
Hi, I am a new user of this list. If I say something wrong, please correct and pardon me. Thanks. I have a question about "aggregate". I have a data matrix that is 5000 (rows) x 100(columns). I want s-plus to compute the means for every 50 rows so that I can get a new matrix that is 100 x100. I try this command: aggregate( my.data, ndeltat = 50, fun = mean) , but it doesn't work. If someone knows how to do this, would you please tell me. Thank you very much. David |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Data manipulation, Don MacQueen |
|---|---|
| Next by Date: | Re: about aggregate, Jeffrey Wang |
| Previous by Thread: | predict rpart, nj7w |
| Next by Thread: | Re: about aggregate, Jeffrey Wang |
| Indexes: | [Date] [Thread] [Top] [All Lists] |