circle {SpatialEpi} | R Documentation |
Compute cartesian coordinates of a cluster center and radius
Description
This function is used for plotting purposes
Usage
circle(geo, cluster.center, cluster.end)
Arguments
geo |
A |
cluster.center |
The area index (an integer between |
cluster.end |
The area index (an integer between |
Value
cluster.radius |
A data frame that you can plot |
Author(s)
Albert Y. Kim
Examples
data(pennLC)
geo <- pennLC$geo[,2:3]
plot(geo,type='n')
text(geo,labels=1:nrow(geo))
lines( circle(geo, 23, 46), col = "red" )
[Package SpatialEpi version 1.2.8 Index]