Learn R Programming

invLT (version 0.2.1)

r.xy: Cartesian to Polar

Description

Conversion from cartesian to polar co-ordinates

Usage

r.xy(x, y)
phi.xy(x, y)

Arguments

x
x co-ordinate
y
y co-ordinate

Value

r or phi respectively from x and y

Functions

  • r.xy: Returns polar co-ordinate r from cartesian co-ordinates x and y.
  • phi.xy: Returns polar co-ordinate phi (anti-clockwise rotation from positive x-axis) from cartesian co-ordinates x and y.