compute_angle_between_two_points: Compute angle between two points

View source: R/c.R

compute_angle_between_two_pointsR Documentation

Compute angle between two points

Description

Computes the angle between two points. 0° is aligned with the y-axis.

Usage

compute_angle_between_two_points(p1, p2)

Arguments

p1, p2

Numeric vectors of length two, named x and y.


theMILOlab/SPATA2 documentation built on Feb. 8, 2025, 11:41 p.m.