Shannon entropy is calculated for each pixel based on it's layer values. To be used with categorical / integer valued rasters.
Examples
re <- rasterEntropy(rlogo)
ggR(re, geom_raster = TRUE)
Shannon entropy is calculated for each pixel based on it's layer values. To be used with categorical / integer valued rasters.
re <- rasterEntropy(rlogo)
ggR(re, geom_raster = TRUE)