Re: Binning question (binning rows of a data.frame
Dan Bolser <[hidden email]> wrote:
> Gabor Grothendieck wrote:
> > Do you mean you want g to be in the original order of x?
> No. What I mean is that I want to order x by any particular variable in
> my data.frame, then group over x such that each group has roughly the
> same sum.
> I get the feeling I have missed a very simple trick.