Skip to contents

Get polar coordinates

Usage

get_polar_coordinates(x, y, origin = c(0, 0))

Arguments

x

Vector of x coordinates

y

Vector if y coordinates

origin

(Default = c(0, 0)) Position of the origin of coordinates

Value

Data frame with radius (r) and angle vectors (th)