points.match: Checks if the location of two geographical points match

Description Usage Arguments Value Examples

Description

Checks if the location of two geographical points match

Usage

1
2
## S3 method for class 'match'
points(p1.lat, p1.lon, p2.df, threshold)

Arguments

p1.lat

point 1 latitude

p1.lon

point 1 longitude

p2.df

point 2 dataframe with latitude,longitude

threshold

maximum distance for matching

Value

distance between point 1 and point 2

Examples

1
2
p2 <- data.frame(59.39,29.53)
points.match(51.09,25.94,p2,50)

analytics-ufcg/busminer documentation built on May 12, 2019, 2:40 a.m.