compareSpatial: Make spatial evidence variables

Description Usage Arguments Value

Description

Calculates spatial distance between crimes (in km)

Usage

1
compareSpatial(C1, C2, longlat = FALSE)

Arguments

C1

(n x 2) matrix of coordinates for the crimes

C2

(n x 2) matrix of coordinates for the crimes

longlat

(logical) if true, the the coordinates are in (Long,Lat), else

Value

numeric vector of distances between the crimes (in km)


crimelinkage documentation built on May 2, 2019, 1:36 a.m.