on.torus: Transform the angular values to be on principal interval

Description Usage Arguments Examples

View source: R/on.torus.R

Description

on.torus() transforms data to be on [-π, π)^2.

Usage

1

Arguments

x

Matrix-formed numeric data which has 2 columns.

Examples

1
2
3
4
5
6
## Not run: 
x <- matrix(c(10/3 * pi, -5/4 * pi), ncol = 2, byrow = TRUE)

on.torus(x)

## End(Not run)

Hong-Seungki/routine documentation built on Aug. 23, 2020, 12:42 a.m.