Learn R Programming

tidydice (version 1.0.0)

circle_points: Helper function to draw a circle

Description

Helper function to draw a circle

Usage

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

Value

Dataframe with x and y coordinates to draw a circle

Arguments

center

Vector with x and y coordinate of center

diameter

Diameter of circle

npoints

Number of points used for drawing a circle