Re: [R] aggregate slow with many rows - alternative?

From: Hans-Peter <gchappi_at_gmail.com>
Date: Fri 14 Oct 2005 - 20:30:37 EST

Many thanks for all your answers. Converting to a matrix didn't help, I tried with Hmisc but didn't get anywhere (different summary functions, multiple levels).

2005/10/14, jim holtman <jholtman@gmail.com>:
> Here is the way that I would do it. Using 'lapply' to process the list and create a matrix

[snip]

Wow! That's a wonderful suggestion, Your code works just fine with my data (takes 11 seconds). Thanks a lot, I couldn't have written such code (reading some help entries now...).

Hans-Peter



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Oct 14 20:48:14 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:52:55 EST