ntrips: Computes the number of trips by subject

View source: R/functions.R

ntripsR Documentation

Computes the number of trips by subject

Description

Computes the number of trips by subject

Usage

ntrips(data)

Arguments

data

A data frame with the steps of trajectories. It is assumed the time between steps is uniform. It must contain contain at least five columns: subject identifier, trip identifier, latitude, longitude, and time of the reading.

Value

A data frame with the number of trips by subject.


iccTraj documentation built on June 8, 2025, 10:06 a.m.

Related to ntrips in iccTraj...