rotateAxesTrueNorth: Rotate axes clockwise from true north

View source: R/calculations.R

rotateAxesTrueNorthR Documentation

Rotate axes clockwise from true north

Description

Rotate axes clockwise from true north

Usage

rotateAxesTrueNorth(x, y, angle)

Arguments

x

a numeric vector of the x-component value(s)

y

a numeric vector of the y-component value(s)

angle

rotation angle in degrees

Details

This function rotates points clockwise from true north in a x-y Cartesian coordinate system. Adapted from MATLAB code provided to me by David Hebert, which was used in Mathieu Dever's PhD.

Value

list of rotated x and y components as X and Y.

Author(s)

Chantelle Layton


clayton33/csasMarPhys documentation built on June 8, 2025, 3:10 a.m.