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.

All functions