powered by
The observations within radius from the center point.
points_in_circle( data, lon_center, lat_center, lon = lon, lat = lat, radius = 200 )
A data.frame.
Longitude of center point.
Latitude of center point.
Name of column in data with longitudes (lon is default).
data
Name of column in data with latitudes (lat is default).
Radius (in meters) (default is 200m).
A data.frame of coordinates within radius around (lon_center, lat_center). The column distance_m gives the distance from the center point (in meters).
radius
(lon_center, lat_center)
distance_m
# NOT RUN { points_in_circle(Groningen, lon_center = 6.571561, lat_center = 53.21326, radius = 50) # }
Run the code above in your browser using DataLab