Return a vector of center angle 0 to 360(degree) for x y coordinate vector

Ldeg360(x, y)

Arguments

x

a vector of x coordinates

y

a vector of y coordinates

Value

a vector of center angle 0 to 360(degree) for x y coordinate vector

Examples

 xy <-TR@L[[1]]
 plot(Ldeg360(xy[,1],xy[2]))