Skip to contents

Get the great-circle centroid for latitude/longitude data

Usage

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