polarize {colors3d}R Documentation

Internal function converting x-y do distance-angle.

Description

Internal function converting x-y do distance-angle.

Usage

polarize(data, xyratio, xorigin = 0, yorigin = 0)

Arguments

data

Matrix or data frame with 2 numeric columns representing x and y.

xyratio

Single number indicating unit ratio in x vs y direction.

xorigin, yorigin

Numbers indicating center of polarization.

Value

2-column matrix of distances and angles.


[Package colors3d version 1.0.1 Index]