spatial.similarity: Pairwise spatial similarity

Description Usage Arguments Value

Description

Compares the pairs pairwise regarding a spatial attribute. Returns a vector of spatial similarity

Usage

1
spatial.similarity(data, lat1, long1, lat2, long2, max_distance)

Arguments

data

A dataframe of pairs

lat1

The column name of the latitude of the first entity

long1

The column name of the longitude of the first entity

lat2

The column name of the latitude of the second entity

long2

The column name of the longitude of the second entity

max_distance

The maximal distance allowed

Value

sim A vector of spatial similarities


suelai/skyex documentation built on Dec. 1, 2019, 9:54 p.m.