cal_angle: Cal Angle function

View source: R/cal_angle.R

cal_angleR Documentation

Cal Angle function

Description

This function calculates the angle between two points. It uses one point as the reference center. 0 degree means top, 90 degree means right, 180 degree means below, and 270 degree means left.

Usage

cal_angle(M, N)

Arguments

M

Coordinate of the reference point

N

Coordinate of the reference point

Author(s)

Xiao Feng


BiogeographyLab/gridder documentation built on April 21, 2024, 2:32 a.m.