Learn R Programming

treecm (version 1.2.2)

toCartesianXY: Computes the x,y cartesian coordinates

Description

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

Usage

toCartesianXY(angle, distance)

Arguments

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

Value

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