funcCircleCoords: Generate circle coordinates

View source: R/funcCircleCoords.R

funcCircleCoordsR Documentation

Generate circle coordinates

Description

Generate coordinates to draw a circle.

Usage

funcCircleCoords(center = c(0, 0), r = 1, npoints = 100)

Arguments

center

coordinate for centroid

r

radius

npoints

number of coordinates to generate

Value

a dataframe

Source

Adapted from Joran's response to http://stackoverflow.com/questions/6862742/draw-a-circle-with-ggplot2.


ricardo-bion/ggradar documentation built on Feb. 28, 2024, 3:26 p.m.