calc_entropy | R Documentation |
Calculates Shannon entropy of a raster stack of class probabilities. Not to be confused with that requires categorical/integer raster values fo rlooking at agreement among an ensemble of models. Defaults to using the natural logarithm.
calc_entropy(raster_stack, base = exp(1))
raster_stack |
A raster stack/brick object containing layers that correspond to class probabilities |
base |
base of logarithm (default is natural logarithm) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.