distance: m2c2R

View source: R/distance.R

distanceR Documentation

m2c2R

Description

m2c2R

Usage

distance(x1, x2, y1, y2)

Arguments

x1, x1, y1, y2

coordinates on an X/Y grid corresponding to the position of two dots.

Details

This function calculates the distance between two dots on an X/Y grid.

Value

Returns numeric value for the distance between two dots.

Author(s)

Nelson Roque, Nelson.Roque@ucf.edu


nelsonroque/m2c2R documentation built on Oct. 8, 2022, 7:50 a.m.