poly_area: Calculate the area of the polygon with the given vextices

View source: R/poly_area.R

poly_areaR Documentation

Calculate the area of the polygon with the given vextices

Description

Calculate the area of the polygon with the given vextices

Usage

poly_area(x, y)

Arguments

x

Numeric. An array contains the x coordinates of the vextices.

y

Numeric. An array contains the y coordinates of the vextices.

Value

The area of the polyon.


hxfan1227/efdcr documentation built on July 21, 2023, 9:50 p.m.