This function plots circles at given locations with given radii.
Arguments
- x
vector of x coordinates
- y
vector of y coordinates
- r
vactor of radii
- ...
additional graphic parameters will be passed through
Note
This function needs a previous plot where it adds the circles.
Examples
x<-rnorm(10)
y<-rnorm(10)
r<-runif(10,0,0.5)
plot(x,y, xlim=c(-3,3), ylim=c(-3,3), pch="+")
circles(x,y,r)