Learn R Programming

iccTraj (version 1.0.4)

FD_data: Creates a data frame with the discrete Fréchet distance between two trajectories

Description

Creates a data frame with the discrete Fréchet distance between two trajectories

Usage

FD_data(data, i, j)

Value

A data frame with the subjects and trips identifiers and the discrete Fréchet distance

Arguments

data

A list created with tr_gen function

i

Position in the data of the first trajectory

j

Position in the data of the second trajectory