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
In reply to Re^3: Working out frequency statistics with perl
by moritz
in thread Working out frequency statistics with perl
by wishartz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |