circle_points {tidydice}R 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


[Package tidydice version 1.0.0 Index]