make a discrete image of a circle

makecirc(center_x = 30, center_y = 30, radius = 15, npts = 100)

Arguments

center_x

numeric(1) defaults to 30

center_y

numeric(1) defaults to 30

radius

numeric(1) defaults to 15

npts

numeric(1) number of points to generate using `seq(0, 2*pi, length.out=npts)`

Examples

plot(makecirc())