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)

psda documentation built on July 1, 2020, 6:10 p.m.