length_of_degree: Length of a degree of latitude or longitude

Description Usage Arguments Value

View source: R/jitter_latlon.R

Description

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

Usage

1
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


wpinvestigative/wpdata documentation built on March 21, 2021, 7:22 p.m.