wat_simple_dist: A fast way to calculate euclidean distances between...

Description Usage Arguments Value

View source: R/func_simpleDist.r

Description

A fast way to calculate euclidean distances between successive points.

Usage

1
wat_simple_dist(data, x = "x", y = "y", time = "time")

Arguments

data

A dataframe object of or extending the class data.frame, which must contain at least two coordinate columns for the X and Y coordinates.

x

A column name in a data.frame object that contains the numeric X or longitude coordinate for position data.

y

A column name in a data.frame object that contains the numeric Y or latitude coordinate for position data.

time

Time column to order by.

Value

Returns a vector of distances between consecutive points.


pratikunterwegs/watlastools documentation built on Nov. 5, 2021, 2:07 p.m.