Skip to contents

Check if a vector is all the same value

Usage

is_zero_range(x, tol = .Machine$double.eps^0.5)

Arguments

x

An input vector.

tol

tolerance when comparing elements of the vector