box.area | R Documentation |
Calculate the area of a square on the earth.
box.area(lat, lon, edge, units = "nm")
lat, lon |
The latitude and longitude of the lower right corner of the box in decimal degrees. |
edge |
The length of one side of the square in decimal degrees. |
units |
units of distance. Can be "km" (kilometers), "nm" (nautical miles), or "mi" (statute miles). |
Eric Archer eric.archer@noaa.gov
#What is the area of a 5 degree grid off of San Diego, CA?
box.area(32.87, -117.25, edge = 1, units = "nm")
box.area(32.87, -117.25, edge = 1, units = "km")
box.area(32.87, -117.25, edge = 1, units = "mi")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.