calc_distance: Calculate distance travelled since last time point

Description Usage Arguments Value

Description

Take a user object and use the position data to calculate the distance in the sim world they travelled since the last recorded time point.

Usage

1

Arguments

user

A user list object

Value

The user object with a distance column in the streams tibble if a position column is present.


drsimonj/adapter documentation built on May 15, 2019, 2:51 p.m.