Skip to contents

Wraps any numeric vector to the interval [0, 2π) using modulo arithmetic.

Usage

constrain_angles_radians(x)

Arguments

x

Numeric vector of angles (radians).

Value

Numeric vector of the same length, each element in [0, 2π).