length_line: Length line

Description Usage Arguments Value Examples

View source: R/lengthline.R

Description

Function which calculates length of a line based on the position of its end points.

Usage

1
length_line(x1, y1, x2, y2)

Arguments

x1

Value of the first point on the X axis.

y1

Value of the first point on the Y axis.

x2

Value of the second point on the X axis.

y2

Value of the second point on the Y axis.

Value

Numeric value

Examples

1
length_line(0,-5,0,5)

spacea/projekt.2019.pacocha documentation built on Jan. 18, 2021, 3:28 p.m.