points_on_circle: Get n points evenly spread on a circle

Description Usage Arguments Value

View source: R/points_on_circle.R

Description

Get n points evenly spread on a circle

Usage

1
points_on_circle(centre_x, centre_y, radius, n)

Arguments

centre_x

x coordinate of the circle centre

centre_y

y coordinate of the circle centre

radius

radius of the circle

n

number of points on the circle

Value

Data frame with x and y coordinates


rogiersbart/rtoolz documentation built on Aug. 20, 2020, 2:48 p.m.