dist_mat: Creates a matrix with the pairwise distances

View source: R/functions.R

dist_matR Documentation

Creates a matrix with the pairwise distances

Description

Creates a matrix with the pairwise distances

Usage

dist_mat(dataD, nt)

Arguments

dataD

Data frame created with "genHD" function.

nt

Data frame with the number of trips by subject

Value

A list with two components:

  • *D*. A matrix with the pairwise distances

  • *data*. A data frame with the pairwise distances


iccTraj documentation built on Nov. 2, 2023, 5:59 p.m.

Related to dist_mat in iccTraj...