distance: Determine Distance Between Two Points

View source: R/distance.R

distanceR Documentation

Determine Distance Between Two Points

Description

Calculate the distance between two points based on their latitude and longitude.

Usage

distance(long1, lat1, long2, lat2)

Arguments

long1

The longitude for point one.

lat1

The latitude for point one.

long2

The longitude for point two.

lat2

The latitude for point two.


nwfsc-assess/nwfscMapping documentation built on July 8, 2023, 4:50 a.m.