Running maxima. Equivalent to R's cummax(). NaN from the first NaN on.
cummax()
NaN
cummax([1, 3, 2, 5, 4]); // [1, 3, 3, 5, 5] Copy
cummax([1, 3, 2, 5, 4]); // [1, 3, 3, 5, 5]
Running maxima. Equivalent to R's
cummax().NaNfrom the firstNaNon.