get_centroid | R Documentation |
Get the great-circle centroid for latitude/longitude data
get_centroid(lat, lng)
lat |
A vector of latitudes in degrees. |
lng |
A vector of longitudes in degrees. |
A latitude/longitude
Other utilities:
addbuff
,
calc_haversine_distance()
,
deg_to_rad()
,
rad_to_deg()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.