in reply to Re^2: Working out frequency statistics with perl
in thread Working out frequency statistics with perl
I don't understand the subroutine that was posted earlier. I don't understand what I am supposed to pass to items?
A list of numbers from which you want to build your histogram. And it doesn't have to be sorted.
Your sample data generates this histogram for me:
0: 67 30: 73 60: 93 90: 75 120: 26 150: 18 180: 10 210: 5 240: 2 270: 1 300: 1 330: 2 360: 1 390: 1 450: 1 840: 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Working out frequency statistics with perl
by wishartz (Beadle) on Jul 16, 2008 at 12:48 UTC | |
by jethro (Monsignor) on Jul 16, 2008 at 14:26 UTC |