Description Usage Arguments Value
Compares the pairs pairwise regarding a spatial attribute. Returns a vector of spatial similarity
1 | spatial.similarity(data, lat1, long1, lat2, long2, max_distance)
|
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 |
sim A vector of spatial similarities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.