geoarea: Calculates the area of a given region.

Description Usage Arguments Value Side Effects See Also Examples

Description

Calculates the area of a given region to a given precision.

Usage

1
2
geoarea(data, Projection = "Lambert", old.method = F, ngrdpts = 2000,
  robust = T)

Arguments

data

The region, should contain \$lat and \$lon.

Projection

Which projection is beeing used.

old.method

If true an older version of this program is used. Default is False.

ngrdpts

The precision of the calculation.

robust

If true a more robust method is used, default is True.

Value

The area of the region given.

Side Effects

None

See Also

geodefine, geolocator, geoinside.

Examples

1
2
3
4
5
6
7
8
geoarea(island)         # Calculates the area of Iceland up to
                                 # an with default precision.

         geoarea(island,10000)   # Calculates the area of Iceland up to
                                 # an adiquite precision.

#         geoarea(geodefine(),10) # Calculates the area of a region specified
                                 # by the user.


Search within the geo package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.