parea: Polygonal Area

Description Usage Arguments Value Examples

Description

Compute the area of polygon.

Usage

1

Arguments

polygon

a matrix representing the polygon.

Value

a integer the area of polygon.

Examples

1
2
3
x <- psim(10, 10) #simulate 10 polygons of 10 sides
x <- x[[1]] 
parea(x)

psda documentation built on June 25, 2019, 1:03 a.m.