Learn R Programming

iccTraj (version 1.0.4)

HD_data: Creates a data frame with the Hausdorff distance between two trajectories

Description

Creates a data frame with the Hausdorff distance between two trajectories

Usage

HD_data(data, i, j, q)

Value

A data frame with the subjects and trips identifiers and the extended Hausdorff 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

q

Quantile for the extended Hausdorff distance. Default value q=1 uses the maximum that leads to classical Hausdorff distance.