Description Usage Arguments Value Note References See Also

Calculate the area of a polygon and its boundary direction.

1 |

`poly` |
matrix containing the |

- area
positive numeric, the area of the polygon.

- sign
integer, 1 if the polygon orientation is anticlockwise, -1 otherwise.

- poly
copy of the passed argument

`poly`

.

This function is provided here so that
users do not need to load other packages,
as it is not available in the base **R** packages.

Joseph O'Rourke, Computational Geometry in C (2nd Edition), Cambridge University Press, 2000 edition.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.