parea: Polygonal Area

Description Usage Arguments Value Examples

View source: R/parea.R

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)

wagnerjorge/psda documentation built on Jan. 30, 2021, 1:59 a.m.