What syntax will allow me to find the maximum values, at a given position, across multiple lists of equal length?
For example, suppose we have three lists l1
, l2
, and l3
:
l1 = {1, 2, 1, 1, 5}
l2 = {2, 1, 1, 4, 5}
l3 = {3, 1, 2, 1, 4}
What syntax can be derived to obtain lmax
:
lmax = {3, 2, 2, 4, 5}