Skip to content
Prev 20187 / 63424 Next

Suggestions to speed up median() and has.na()

On Windows
quantile kuantile quantile kuantile qsort
100      0.003    0.003    0.000    0.001 0.000
1000     0.000    0.000    0.002    0.000 0.000
10000    0.002    0.004    0.001    0.004 0.000
1e+05    0.008    0.006    0.016    0.010 0.018
1e+06    0.092    0.113    0.137    0.140 0.186
1e+07    0.920    0.685    1.386    0.992 2.274

so the comparison is far less favourable to kuantile.

I remain unconvinced that such small differences are worth the time spend 
discussing them.
On Tue, 11 Apr 2006, roger koenker wrote: