Skip to contents

Get symmetric limits from a set of values

Usage

getSymmetricLimits(values)

Arguments

values

numeric values

Value

An array of 2 symmetric values equally distant from 0

Examples

getSymmetricLimits(seq(-3, 8))
#> [1] -8  8