rot {rgm} | R Documentation |
Rotate Locations
Description
Rotates locations to align with the mean vector direction.
Usage
rot(loc)
Arguments
loc |
Matrix of locations to rotate. |
Value
Matrix of rotated locations.
Examples
# Example usage with a 2-column matrix representing locations.
loc <- matrix(rnorm(20), ncol = 2)
rotated_loc <- rot(loc)
[Package rgm version 1.0.4 Index]