Description Usage Arguments Value
Get the area of each longitude by latitude cell. Adjust for change in area with latitude.
1 2 3 4 5 6 7 | area.cell(
lond,
latd,
cell.size = 1,
crs.ll = "+proj=longlat +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0",
crs.en.type = "mollweide"
)
|
lond |
Vector of longitudes (midpoint of the cell) |
latd |
Vector of latitudes (midpoint of the cell) |
cell.size |
Integer: size of the cell in degrees. Note, all cells must be the same size |
crs.ll |
Character string of the crs for the current lat-lon projections |
crs.en.type |
What type of projection for calculating the area? 'tpeqd', 'mollweide', or 'albers equal area'. Note that 'albers equal area' is hard coded for the central pacific |
Either a vector of areas in km2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.