dist_along_path_angle: Distance/angle between points along path relative to...

Description Usage Arguments Value

View source: R/distance-between.R

Description

Calculates the distance and angle between each point of a path

Usage

1

Arguments

data_df

(n x 2) data.frame, each row is a pair of values (x,y), assumes rows are ordered in path

Value

distance

vector of distances beween points (n - 1)

angle

vector of angle change between points (n - 1) - in radians


skgallagher/EpiCompare documentation built on Sept. 14, 2021, 5:45 a.m.