Learn R Programming

fifer (version 1.1)

compute.theta: Calculate inverse tangent.

Description

Computes angle in polar coordinates, accounting for which quadrant the datapoints are in.

Usage

compute.theta(x)

Arguments

x
a vector of size two that give the cartesian coordinates

Value

returns the theta, expressed in radians.