MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

BinLists in Array

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111583] BinLists in Array
  • From: Murta <rodrigomurtax at gmail.com>
  • Date: Fri, 6 Aug 2010 06:57:16 -0400 (EDT)

Hello All

   I Would like to split this array: l={{1, 0}, {1, 1}, {1, 2}, {2,
3}, {2, 4}}, by the second element of each group, to group what are
between 0-2, 2-4,4-6 and so on (just the second element)
   Using BinLists look like a good idea. I get my desirable result
with:
       BinLists[{{1, 0}, {1, 1}, {1, 2}, {2, 3}, {2, 4}}, {0, 10, 10},
{0, 10, 2}]

  But I would like to don't have to put any struction to the first
element (the "{0, 10, 10}" information)
  How I can ignore it? I tried something like
       BinLists[{{1, 0}, {1, 1}, {1, 2}, {2, 3}, {2, 4}},None, {0, 10,
2}]
       BinLists[{{1, 0}, {1, 1}, {1, 2}, {2, 3}, {2, 4}},Automatic,
{0, 10, 2}]
       BinLists[{{1, 0}, {1, 1}, {1, 2}, {2, 3}, {2, 4}},All, {0, 10,
2}]
  But isn't the way.

Thanks in advande
Murta


  • Prev by Date: Re: A new graphic user interface
  • Next by Date: Re: Save a notebook state
  • Previous by thread: Re: Random points in triangle
  • Next by thread: Re: BinLists in Array