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

View source: R/minuspipluspi.R

minusPiPlusPiR 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)

circular documentation built on Sept. 11, 2024, 8:21 p.m.