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

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1

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

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

Example output

Attaching package: 'circular'

The following objects are masked from 'package:stats':

    sd, var

Circular Data: 
Type = angles 
Units = degrees 
Template = none 
Modulo = asis 
Zero = 0 
Rotation = counter 
[1]   0  90 180 -90

circular documentation built on May 2, 2019, 4:42 p.m.