get_directions: get_directions

Description Usage Arguments

View source: R/get_link_direction.R

Description

From a set of geometry it calculates the main direction between the first and last points aka directionaliser

Usage

1
get_directions(geometry, minor = FALSE)

Arguments

geometry

The geometry column of an sf object

minor

Logical. If true gives the minor direction of the coordinate pair. FALSE by default.


fermumen/spellbook-fmm documentation built on Oct. 25, 2019, 6:12 p.m.