Drawing a Circle with a Radius of a Defined Distance in a Map
问题 I am able to plot a map and caption a specific point: library(maps) map("state") text(-80.83,35.19,"Charlotte",cex=.6) I can also plot a circle centered around that point: symbols(-80.83,35.19,circles=2, add=TRUE) However, I would like to control the size of the circle. In particular, I want to draw a circle with a radius of 100 mile around multiple locations contained in a data.frame, matrix, or list. 回答1: You can write a function to customize how you want the circle to look. For example: