To compute Numerical Summaries for the cells of each layer we can use:
...
Below examples of the computation of numerical summaries for raster layers in R are presented. These examples are taken from the “Effects of Cyclone Yasi on Green Cover at Mission Beach” tutorial. It can be beneficial to put the code snippets in context by looking at a broader section of the R script. Code snippets have a grey background, and outputs have a white background.
Boxes with grey background contain code snippets, and boxes with white background containt code (text) outputs
Multiple numerical summary statistics using the function ‘summary’ from the ‘base’ package
...
Div | ||
---|---|---|
| ||
|
...
Div | ||
---|---|---|
| ||
|
...
Div | ||
---|---|---|
| ||
|
.
.
RasterLayer object
.
Div | ||
---|---|---|
| ||
|
...