Bin given limits: Difference between revisions

m
→‎{{header|J}}: Add comments
(→‎{{header|J}}: Use output format similar to Haskell)
m (→‎{{header|J}}: Add comments)
Line 900:
466 23 707 467 33 670 921 180 991 396 160 436 717 918 8 374 101 684 727 749
)
limits1 < binnedData data1 NB. box/group binned data
┌──────────────────────────┬───────────┬─────┬─────────────────┬──────────────────────────┬──────────────┬──────────────────────────────────────┐
│21 12 4 5 17 16 8 9 7 19 6│32 30 29 36│37 40│52 47 46 45 49 43│57 53 65 61 54 58 64 60 55│70 75 80 71 79│95 94 99 83 93 86 92 83 84 87 96 98 97│
└──────────────────────────┴───────────┴─────┴─────────────────┴──────────────────────────┴──────────────┴──────────────────────────────────────┘
limits1 # binnedData data1 NB. tally binned data
11 4 2 6 9 5 13
limits2 printBinCounts limits2 # binnedData data2
892

edits