hypot: Hypotenuse length

Description Usage Arguments Value

View source: R/base.R

Description

Calculate the length of the hypotenuse of a right-angled triangle.

Usage

1
hypot(x, y)

Arguments

x

A numeric value representing one leg of the triangle.

y

A numeric value representing the other leg of the triangle.

Value

The length of the hypotenuse.


bgreenwell/bmisc documentation built on Sept. 24, 2019, 11:09 a.m.