Learn R Programming

RSEIS (version 3.7-4)

hypot: 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

Value

numeric distance

Details

Euclidean distance

Examples

Run this code
# NOT RUN {
hypot(34, 12, 56, 89)

# }

Run the code above in your browser using DataLab