a wrapper function that accepts a raster list and applies landscape metrics across the list. Code for landscape metrics is implemented using an approach coded by Jeremy VanDerWal (jjvanderwal@gmail.com), using the 'SDMTools' package.
1 2 | lCalculateLandscapeMetrics(x = NULL, metric = NULL, DEBUG = F,
class = 1)
|
x |
list object containing raster(s) that will be passed to 'SDMTools' to calculate class/patch statistics. |
metric |
a vector containing the target class/patch metrics calculated for each raster object in 'x'. |
class |
raster cell values (usually binary) indicating the focal class. Default value is 1. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.