Skip to content
Prev 279400 / 398506 Next

Binning the data based on a value

Just a clarification: I can't get round to work as I first expected so
if you want to do bins by 100's you'd probably want:

split(a, cut(a$spending, breaks = (0:5)*100))

Michael

On Mon, Dec 5, 2011 at 3:41 PM, R. Michael Weylandt
<michael.weylandt at gmail.com> wrote: