The cumulative maximum, maxi=1,…,kxi for k=1,…,n. When calling cummax, matrices are automatically flattened into column-major order before the max is taken.
methods
cummax_axis(expr, axis =2)## S4 method for signature 'Expression'cummax(x)
Arguments
axis: (Optional) The dimension across which to apply the function: 1 indicates rows, and 2 indicates columns. The default is 2.