R: Hypot

hypot {RSEIS} | R Documentation

## Hypot

### Description

length of line connecting two points in a plane

### Usage

    hypot(x1, y1, x2, y2)

### Arguments

`x1` | x-location point 1
`y1` | y-location point 1
`x2` | x-location point 2
`y2` | y-location point 2

### Details

Euclidean distance

### Value

numeric distance

### Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

### Examples

    hypot(34, 12, 56, 89)

[Package RSEIS version 3.7-4 Index]