MathGroup Archive 2004

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

Search the Archive

Re: Incidence/frequency of numbers in lists

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47631] Re: Incidence/frequency of numbers in lists
  • From: "Eckhard Hennig" <aidev at n-o-s-p-a-m.kaninkolo.de>
  • Date: Mon, 19 Apr 2004 04:33:01 -0400 (EDT)
  • References: <c5qj8m$fvs$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"Diana" <diana53xiii at earthlink.remove13.net> schrieb im Newsbeitrag
news:c5qj8m$fvs$1 at smc.vnet.net...
> I would like to create a new table which does not contain the sublist
> members which have two or fewer occurances of any of the six numbers in
the
> sublist. I only want sublists which have three or more of each of the
> numbers.

Select[lst, Min[Length /@ Split[#]] > 2 &]

Best regards,

  Eckhard

-- 
Dr.-Ing. Eckhard Hennig
www.kaninkolo.de/ai
aidev \at kaninkolo \dot de



  • Prev by Date: Re: plot combination
  • Next by Date: Kernel crash?
  • Previous by thread: Re: Incidence/frequency of numbers in lists
  • Next by thread: Re: Incidence/frequency of numbers in lists