Special functions to calculate the degree of overlap and nonoverlap between trajectories
overlap(a, b)matrix object
matrix object
A matrix object
These functions are used by the pathInc() as defaults.
The functions are provided here to assist the user in defining alternative measures of overlap / nonoverlap.