|Syntactic Confectionery Delight|
Find column number for the row-wise max valueby jaksow (Initiate)
|on Feb 29, 2012 at 15:48 UTC||Need Help??|
jaksow has asked for the
wisdom of the Perl Monks concerning the following question:
Hi, I'm quite new to Perl and would like to ask: How do I retrieve, row-wise, the column number of the entry that has the largest value?
For example, let's say that I have the following dataset:
I then want my code to return:
because these are the column numbers that correspond to the column which contain the row-wise maximum.