Calculate the area of the polygon with the given vextices

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.