powered by
Compute the area of polygon.
parea(polygon)
a matrix representing the polygon.
a integer the area of polygon.
# NOT RUN { x <- psim(10, 10) #simulate 10 polygons of 10 sides x <- x[[1]] parea(x) # }
Run the code above in your browser using DataLab