pol2car: Convert from polar to cardinal coordinates

Description Usage Arguments Value See Also Examples

Description

Convert from polar to cardinal coordinates

Usage

1
pol2car(x, orig = c(0, 0))

Arguments

x

matrix or data frame with columns [theta,rho], with theta of class circular or in trigonometric reference

orig

vector with the x,y coordinates of the origin, defaults to (0,0)

Value

a data.frame with columns [x,y] in the same unit as rho

See Also

link{car2pol} for the reverse

Examples

1
2
3

jiho/discr documentation built on May 19, 2019, 9:30 a.m.