powered by
make_bbox(lon, lat, data, f = 0.05)
make_bbox(lon, lat, data = crime) (lon <- sample(crime$lon, 10)) (lat <- sample(crime$lat, 10)) make_bbox(lon, lat) make_bbox(lon, lat, f = .10) # bigger box
Run the code above in your browser using DataLab