Learn R Programming

dga (version 2.0.1)

circle: A Helper Function Used in venn3

Description

Takes the parameters of a circle and returns points on its perimeter to be plotted to make circles for a venn diagram.

Usage

circle(x, y, r)

Arguments

x

the x coordinate of the center of the circle.

y

the y coordinate of the center of the circle.

r

the radius of the circle

Value

inds

the x,y coordinates of the periphery of a circle, to be used in venn3.

Examples

Run this code
# NOT RUN {

plot(dga:::circle(0, 0, 1), type = "l")
# }

Run the code above in your browser using DataLab