get_bear: get bearing

Description Usage Arguments Value

View source: R/utils.R

Description

Given a matrix of two coordinate pairs, returns the bearing of the angle between the two points in degrees.

Usage

1
get_bear(coords)

Arguments

coords

is a matrix with cols (x,y) and rows(1:2)

Value

the angle of the bearing between the points in 'coords' in degrees


crumplecup/riparian documentation built on April 14, 2021, 1:43 p.m.