get.trips.initial.points: Returns trips initial points

Description Usage Arguments Value Examples

Description

Returns trips initial points

Usage

1
get.trips.initial.points(locations.df, initial.pt.df, thresh = 50)

Arguments

locations.df

GPS locations data frame

initial.pt.df

initial point (longitude,latitude) dataframe

thresh

point 2 dataframe with latitude,longitude

threshold

maximum distance for points matching

Value

distance between point 1 and point 2

Examples

1
2
3
locations <- data.frame(51.24,20.53)
init.pt <- data.frame(59.39,29.53)
get.trips.initial.points(locations,init.pt,30)

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