polar.to.cartesian: Convert polar coordinates to Cartesian.

Description Usage Arguments Value Examples

Description

Convert polar coordinates to Cartesian.

Usage

1

Arguments

r

A vector of radii (distance from origin).

theta

input vector of angle from horizontal (radians), same length as r

Value

A dataframe of two columns named x and y.

Examples

1
2
3
4
## Not run: 
polar.to.cartesian(2, pi / 3)

## End(Not run)

forestgeo/ctfs documentation built on May 3, 2019, 6:44 p.m.