circ_arith {monoClust}R Documentation

Add/Subtract Circular Values in Degrees/Radian

Description

Add/subtract two circular variables in degrees (⁠%cd+%⁠ and ⁠%cd-%⁠) and radian (⁠%cr+%⁠ and ⁠%cr-%⁠).

Usage

x %cd+% y

x %cd-% y

x %cr+% y

x %cr-% y

Arguments

x, y

Circular values in degrees/radians.

Value

A value between [0, 360) in degrees or [0, 2*pi) in radian.

Examples

90 %cd+% 90

250 %cd+% 200

25 %cd-% 80

pi %cr+% (pi/2)


[Package monoClust version 1.2.1 Index]