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.


kueckelj/SPATA2 documentation built on Feb. 27, 2025, 1:45 p.m.