r.li.dominance
calculates the "dominance's diversity index" as:
with:
m: number of different patch type
i: patch type
pi: proportion of the landscape occupied by patch type i
NOTES
Do not use absolute path names for output files. They are raster if
moving window disposition was selected, otherwise they are in
~/.r.li/output folder.
If input raster is full of null values r.li.dominance returns -1.
If you want to have null values instead run
r.null setnull=-1 map=my_map
after index calculation.
EXAMPLES
To calculate dominance's diversity index on map my_map, using
my_conf configuration file and saving results in my_out file run: