trackstats: Calculate trajectory statistics

View source: R/track.events.R

trackstatsR Documentation

Calculate trajectory statistics

Description

The function enumerates the trajectories ("trajectory"), adds time steps and the total number of steps in a trajecotry ("trackcount"), length of trajectory (in km): "tracklength"), and if the distance "dx" beween time steps exists the length of the trajectory from start to end ("tracklength") is also calculated.

Usage

trackstats(x, verbose = FALSE)

Arguments

x

an events object

verbose

a boolean; if TRUE print information about progress

Value

an events object with statistics describing the trajectories


metno/esd documentation built on April 29, 2024, 3:34 p.m.