on.torus {ClusTorus} | R Documentation |
Transform the angular data to be on principal interval
Description
on.torus
transforms d-dimensional angular data
to be on [0, 2\pi)^d
.
Usage
on.torus(x)
Arguments
x |
d-dimensional angular data(vector or matrix) whose unit is the radian. |
Value
d-dimensional radian-unit angular data on [0, 2\pi)^d
.
Examples
data <- SARS_CoV_2 * pi / 180
on.torus(data)
[Package ClusTorus version 0.2.2 Index]