circle_points: Helper function to draw a circle

View source: R/dice-plot.R

circle_pointsR Documentation

Helper function to draw a circle

Description

Helper function to draw a circle

Usage

circle_points(center = c(0, 0), diameter = 1, npoints = 61)

Arguments

center

Vector with x and y coordinate of center

diameter

Diameter of circle

npoints

Number of points used for drawing a circle

Value

Dataframe with x and y coordinates to draw a circle


tidydice documentation built on Feb. 16, 2023, 7:50 p.m.