Description Usage Arguments Examples
View source: R/circle.one.point.R
Through simple approximate geometry the perimeter of a circle around a point given in lat and lon is found
1 | circle.one.point(lat, lon = NULL, rad, n = 10)
|
lat,lon |
Latitude and longitude in decimal degrees. |
rad |
radius of the circle in |
n |
number of points on the circle perimeter |
1 2 3 | ## draws a circle around Iceland
geoplot()
geolines(circle.one.point(65,-19,150,n=50),lwd=3,col="red")
|
Loading required package: maps
Loading required package: mapdata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.