estima_dc: Distance to coast

View source: R/estima_dc.R

estima_dcR Documentation

Distance to coast

Description

Estimate distance to coast (dc) in the jurisdictions of the Peruvian sea. The distance contemplates the curvature of the earth and it is expressed in nautical miles

Usage

estima_dc(x, y)

Arguments

x

longitude

y

latitud

Note

if yoy know estimate the distance to coast in other place you can use distance.

Author(s)

Pablo Marin

Examples


longitude <- c(-77.1,-78.1,-77.3)
latitude <- c(-14,-13.4,-15.1)

dc <- estima_dc(x = longitude, y = latitude)

PabloMBooster/fenix documentation built on Oct. 21, 2023, 8:22 p.m.