Learn R Programming

flowmapper (version 0.1.2)

get_circle_coords: Helper function to create coordinates for circles of nodes

Description

Helper function to create coordinates for circles of nodes

Usage

get_circle_coords(center = c(0, 0), r = 1, npoints = 25)

Value

a dataframe with x and y coordinates of the circle

Arguments

center

center y and y coordinates

r

radius

npoints

number of points

Author

Johannes Mast, Credit to https://stackoverflow.com/a/6863490