#Circle
function draws a circle on the plot. It's usage is:
: Circle center coordinates
: Circle radius
: Number of vertices
: Border Color
: Fill Color
: Line type
: Line width
draw.circle requires "
" package, to install:
for #Example
@R_Experts
draw.circle(...)
function draws a circle on the plot. It's usage is:
draw.circle(x,y,radius,nv=100,border=NULL,col=NA,lty=1,lwd=1)
x,y
: Circle center coordinates
radius
: Circle radius
nv
: Number of vertices
border
: Border Color
col
: Fill Color
lty
: Line type
lwd
: Line width
draw.circle requires "
plotrix
" package, to install:
>install.packages("plotrix")for #Example
install.packages("plotrix")
plot(BOD)
require(plotrix)
draw.circle(4,14,2,border="blue",col="tan2")@R_Experts