Re: [R] weighted.median function from package R.basic

2010-03-30 Thread Brian S Cade
While perhaps not the solution you were looking for, you might consider estimating weighted medians with linear quantile regression (just specify an intercept for single sample analysis, tau=0.50, and weights = your weights) in the quantreg package. Quantile regression does not require sorting

Re: [R] weighted.median function from package R.basic

2010-03-30 Thread Henrik Bengtsson
Hi, good memory. weightedMedian() is now available in the aroma.light package (it was moved there from R.basic in Feb 2006). /Henrik (author of both packages) On Tue, Mar 30, 2010 at 6:30 PM, Joris Meys wrote: > Dear all, > > I want to apply a weighted median on a huge dataset, and I remember