dist_matrix_innersq_2d: Calculates the distance matrix between a set of paths...

Description Usage Arguments Details Value

View source: R/distance-between.R

Description

Calculates the distance matrix between a set of paths (Euclidean based). This is actually d^2 (2d)

Usage

1
2
3
dist_matrix_innersq_2d(path_list, position = NULL, verbose = FALSE)

dist_matrix_innersq_angle(path_list, position = NULL, verbose = FALSE)

Arguments

path_list

list of paths (data frames) - need to have the same num rows

position

column index of (x,y) euclidean coords.

verbose

boolean logic if should have print outs while computing distance matrix

Details

This is currently built on raster::pointDistance, which only works in the two dimensional setting.

Value

distance matrix of dimension n x n


skgallagher/EpiCompare documentation built on Sept. 14, 2021, 5:45 a.m.