cart2Polar: Calculate polar coordinates from cartesian coordinates

Description Usage Arguments Details Value Author(s) Examples

View source: R/plottingFunctions.R

Description

'cart2Polar' calculates polar coordinates from cartesian coordinates.

Usage

1
cart2Polar(x, y)

Arguments

x

cartesian x coordinate

y

cartesian y coordinate

Details

'cart2Polar' is employed to translate cartesian coordinates into polar coordinates especially in interactive shiny applications when using hovering and clicking features.

Value

'cart2Polar' returns a list of colar coordinates r and theta

Author(s)

Thomas Naake, thomasnaake@googlemail.com

Examples

1
2
x <- 1; y <- 1
cart2Polar(x, y)

MetCirc documentation built on Nov. 8, 2020, 8:26 p.m.