Skip to contents

Calculate maximum of absolute values

Usage

amax(x, na.rm = T)

Arguments

x

A numeric vector.

na.rm

A logical (default: TRUE). Whether to remove NA values.

Value

A numeric. The maximum of absolute values.