max

max(a, b, c, ...)

max(A)

max(A, dimension)

Try it yourself:


Find the largest value with max

max returns the greatest value among supplied numbers or collection entries. It is useful for upper bounds, peak measurements, and normalization workflows.

Example

max(3, 9, -2) is 9. Pair it with min to find a range, or with mean and std to put a peak in context. arg is not an index finder; retain positions separately when needed.

Caveats

Values must be comparable and nonnumeric entries or missing values require a defined cleaning policy. Use filter before max to exclude invalid observations. An extreme maximum can be an outlier rather than a representative value.

Try Max in Calcul.io

Start with one of the editable examples above, then replace its arguments with your own values. Keeping the function on a separate calculator line makes the input and result easy to compare. For a longer workflow, assign the result to a variable or reference that line in the next expression.

Check the shown signature before adding optional arguments, and use the related-function links to compare operations with similar purposes.

All functions