get_centroid: Get the great-circle centroid for latitude/longitude data

Description Usage Arguments Value See Also

View source: R/utils.R

Description

Get the great-circle centroid for latitude/longitude data

Usage

1
get_centroid(lat, lng)

Arguments

lat

A vector of latitudes in degrees.

lng

A vector of longitudes in degrees.

Value

A latitude/longitude

See Also

Other utilities: addbuff, calc_haversine_distance(), deg_to_rad(), rad_to_deg()


terrainr documentation built on Feb. 23, 2021, 9:06 a.m.