length_of_degree: Length of a degree of latitude or longitude

View source: R/01-jitter-latlong.R

length_of_degreeR Documentation

Length of a degree of latitude or longitude

Description

Calculates the length of a degree of latitude or longitude in kilometers, assuming an spherical earth.

Usage

length_of_degree(degree, type = c("lat", "long"))

Arguments

degree

The degree to calculate the length for

type

Whether to return the length of a degree for latitude or longitude

Value

Length of the degree in kilometers


Pandora-IsoMemo/iso-app documentation built on Dec. 22, 2024, 7:57 a.m.