funcCircleCoords: Calcule les coordonnées des points d'un cercle (Generate...

Description Usage Arguments Value Source Examples

View source: R/functions.R

Description

Generate coordinates to draw a circle.

Usage

1
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 https://stackoverflow.com/questions/6862742/draw-a-circle-with-ggplot2.

Examples

1
2

sageR documentation built on July 20, 2021, 9:08 a.m.