Description Usage Arguments Details Value Author(s) Examples

Determines area of a polygon by triangle method. The variables
`x`

and `y`

define the vertex pairs, and must therefore
have the same shape. They can be either vectors or arrays. If
they are arrays then the columns of `x`

and `y`

are
treated separately and an area returned for each.

1 | ```
polyarea(x, y, d = 1)
``` |

`x` |
X coordinates of verticies. |

`y` |
Y coordinates of verticies. |

`d` |
Dimension of array to work along. |

If the optional `dim`

argument is given, then `polyarea`

works along this dimension of the arrays `x`

and `y`

.

Area(s) of polygon(s).

David Sterratt based on the octave sources by David M. Doolin

1 2 3 4 5 6 |

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.