Description Usage Arguments Value Note

Computes the *x* and *y* cartesian coordinates from a set of polar coordinates

1 | ```
toCartesianXY(angle, distance)
``` |

`angle` |
The angle in degrees (measured clockwise from the North or any other relevant bearing system defined in the field) |

`distance` |
The distance |

A vector holding the *x* and *y* coordinats expressed in the same unit as the distance argument

The function assumes the angle is measured clockwise whereas
trigonometric functions require a conventional counterclockwise
measured angle. Thus the function computes *x* coordinate as the sine of
the angle, and the *y* coordinate as the cosine of
the angle, enabling a correct representation of them on a cartesian plot.

treecm documentation built on May 29, 2017, 12:25 p.m.

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.