- 1. about aggregate (score: 1)
- Author: "Shin, David" <David_Shin@ctb.com>
- Date: Thu, 20 Jun 2002 10:02:38 -0700
- 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-p
- /archives/html/s-news/2002-06/msg00178.html (6,661 bytes)
- 2. Re: about aggregate (score: 1)
- Author: "Jeffrey Wang" <jwang@insightful.com>
- Date: Thu, 20 Jun 2002 10:51:05 -0700
- Here's the code to do it using aggregate(): [1] 12.918 Here's the code to do it using the generic roll() function in the new S+FinMetrics module: [1] 0.922 The second approach utilizes the colMeans()
- /archives/html/s-news/2002-06/msg00179.html (8,442 bytes)
- 3. Re: about aggregate (score: 1)
- Author: Vadim Kutsyy <vkutsyy@cytokinetics.com>
- Date: Thu, 20 Jun 2002 11:57:50 -0700
- Actually there is no need for S+FinMetrics module even for speed efficient 100))), matrix, ncol = 100), colMeans)), ncol = 100, byrow = T)) [1] 0.641 Just to check the result: [1] 10.531 [1] T PS: co
- /archives/html/s-news/2002-06/msg00180.html (10,750 bytes)
This search system is powered by
Namazu