Learn R Programming

RPMG (version 2.2-7)

circle: circle coordinates

Description

generate circle coordinates for plotting

Usage

circle(n = 1, ang1=0)

Value

List

x

coordinates

y

coordinates

Arguments

n

number of points

ang1

starting angle (degrees)

Author

Jonathan M. Lees <jonathan.lees@unc.edu>

Examples

Run this code

j = circle(26)
plot(j)


Run the code above in your browser using DataLab