Description Usage Arguments Value Author(s) Examples
Returns the areas of all elements in a SpatialDataFrame object, e.g. of all grid cells in a SpatialPixelsDataFrame or of all Polygons in a SpatialPolygonsDataFrame. If the elements are Points, 0s are returned with a warning.
1 | areaSDF(x)
|
x |
|
Vector of the areas of elements of the SpatialDataFrame
(same length as the SpatialDataFrame
):
SpatialIndexDataFrame
, SpatialPointsDataFrame
: 0s, with warning.
SpatialPixelsDataFrame
, SpatialGridDataFrame
: cell size, repeated for each cell
SpatialPolygridDataFrame
: sum of cell sizes of all cells related to the respective index value
SpatialPolygonsDataFrame
: sum of area of all polygons related to the respective Polygons
object
SpatialLinesDataFrame
: sum of length of lines related to the respective Lines
object
Kristina B. Helle, kristina.helle@uni-muenster.de
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.