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. Putting the code snippets in context, by looking at a broader section of the R script, would could be benefitial. 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 | ||
---|---|---|
| ||
|
...