Learn R Programming

myTAI (version 2.3.4)

mod_pi: Modulo Pi Function

Description

Wrap angles to the range (-pi, pi].

Usage

mod_pi(x)

Value

Numeric vector of wrapped angles

Arguments

x

Numeric vector of angles

Details

Ensures angles are in the standard range (-pi, pi] by wrapping around 2pi.