Skip to content
Prev 274319 / 398506 Next

Counting the number of integers at one swoop

Slight addendum, tabulate() ignores zeros so you'll need to do tabulate(y+1).

Table will handle zeros but won't look for values that never appear
(in your example 2 & 4).

Michael

On Thu, Oct 13, 2011 at 8:51 AM, R. Michael Weylandt
<michael.weylandt at gmail.com> wrote: