3
calculates the "shannon's diversity index" as: <br>
4
<img src="rliShannon_formula.png"><br>
7
<li><b>i</b>: patch type<br></li>
8
<li><b>m</b>: number of patch type<br></li>
9
<li><b>p<small><small>i</small></small></b>: proportion of the landscape occupied by patch type i<br></li>
13
McGarigal, K., and B. J. Marks. 1995. FRAGSTATS: spatial pattern
14
analysis program for quantifying landscape structure. USDA For. Serv.
15
Gen. Tech. Rep. PNW-351.
18
To calculate shannon's diversity index on map my_map, using
19
my_conf configuration file and saving results in my_out file run:<br>
20
<div class="code"><pre>
21
r.li.shannon map=my_map conf=my_conf output=my_out
25
Do not use absolute path names for output files. They are raster if
26
moving window disposition was selected, otherwise they are in
27
~/.r.li/output folder. <br>
28
If input raster is full of null values r.li.shannon returns -1. <br>
29
If you want to have null values instead run <br>
30
<div class="code"><pre>
31
r.null setnull=-1 map=my_map
33
after index calculation.
38
<a href="r.li.html">r.li</a>
42
Serena Pallecchi student of Computer Science University of Pisa (Italy).<br>
43
Commission from Faunalia Pontedera (PI), Italy (www.faunalia.it)
46
Please send bugs reports to
47
<a href="mailto:pallecch@cli.di.unipi.it">pallecch@cli.di.unipi.it</a><br>
49
<p><i>Last changed: $Date: 2007-02-08 17:52:53 +0100 (Thu, 08 Feb 2007) $</i>