polar_coords: Get Polar Coordinates of a Circle

Description Usage Arguments Value Author(s) Examples

View source: R/polar_coords.R

Description

Add a Description

Usage

1
polar_coords(x, y, r = 1, n = 1000)

Arguments

x

coordinate on the x-axis of center of the circle

y

coordinate on the y-axis of center of the circle

r

radius of the circle

n

number of vertices of the circle

Value

A two-columns data frame with polar coordinates of the circle.

Author(s)

Nicolas Casajus, nicolas.casajus@gmail.com

Examples

1
2
3
4
## Not run: 
polar_coords(0, 0, 1, 500)

## End(Not run)

ahasverus/rsphere documentation built on Dec. 31, 2020, 6:47 p.m.