minusPiPlusPi {circular}R Documentation

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

Description

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

Usage

  minusPiPlusPi(x)

Arguments

x

an object of class circular.

Value

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

Author(s)

Claudio Agostinelli and Alessandro Gagliardi

Examples

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

[Package circular version 0.5-0 Index]