Skip to content
Prev 1690 / 29559 Next

calculating area

At 12:14 AM -0700 1/26/07, Pedro S. A. Wolf wrote:
In addition to the good advice already sent by others:

A quick and simple improvement would be to get what's called the 
convex hull. See
   help.search('convex hull')
   ?chull
and some others.

The complex hull is a polygon, instead of the rectangle you're now 
using, that will more closely surround your locations. Then all you 
need is a function to calculate the area of a polygon. I know one or 
more exists in R or a package, but I don't recall the name (or names).
-Don