get_lat_center: get latitude center

View source: R/geo_helpers.R

get_lat_centerR Documentation

get latitude center

Description

get the latitide center of a given vector or column of latitude values

Usage

get_lat_center(x)

Arguments

x

is a vector or column of latitude values

Value

A single numeric value that is the center (average) of @param x

Examples

## Not run: 
my_latitudes <- sample(-90:90, 100, replace = TRUE)
get_lat_center(my_latitudes)

## End(Not run)

tknoch8/helpRs documentation built on May 11, 2022, 9:34 p.m.