Learn R Programming

circular (version 0.5-1)

minusPiPlusPi: return angles in the [-pi,pi] interval.

Description

return angles in the (-pi,pi] interval.

Usage

minusPiPlusPi(x)

Value

a circular object with values in the interval (-pi,pi].

Arguments

x

an object of class circular.

Author

Claudio Agostinelli and Alessandro Gagliardi

Examples

Run this code
  x <- circular(c(0, 90, 180, 270), units="degrees")
  minusPiPlusPi(x)

Run the code above in your browser using DataLab