polar2cartesian | R Documentation |
polar2cartesian
provides polar to Cartesian
coordinate conversion.
polar2cartesian(r, phi = NULL)
r |
a vector of radii (a or a vector of length 2 holding |
phi |
a vector of angles |
A matrix of the x
and y
Cartesian coordinates in columns.
Tomas Sieger
cartesian2polar
polar2cartesian(1, 0)
polar2cartesian(1, pi)
polar2cartesian(c(1, pi))
polar2cartesian(cbind(1, seq(0,pi,.1)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.