On 9 Oct 2004, Brian D. Ripley wrote: 

> On Fri, 8 Oct 2004, Tuszynski, Jaroslaw W. wrote:
>>      Finally a question: I still need to get moving windows mad function 
>> faster my "runmad" function is not that much faster than apply/embed 
>> combo, and that I used before, and this is where my code spends most 
>> of its time. I need something like "runmed" but for a mad function. Any
suggestions?
>
> Write your own C-level implementation, as runmed and most of the other
fast functions you cite are.

I did as suggested and just released runmean, runmax, runmin, runmad and
runquantile functions as part of caMassClass package.
Thanks for the suggestion, now my codes run 20 min. instead of overnight.

Jarek
====================================================\=======

 Jarek Tuszynski, PhD.                           o / \ 
 Science Applications International Corporation  <\__,|  
 (703) 676-4192                                   ">   \
 [EMAIL PROTECTED]                     `    \

______________________________________________
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

Reply via email to