Calculate statistics in a square window of any size
Syntax:
Result = window...(expression,windowlength)
expression: variable over which statistics are calculated
windowlength: length of the window
window...: one of the window functions
Table 4. examples of this group
operator | description |
---|---|
windowaverage | average of expression |
windowtotal | sum of expression in window |
windowdiversity | number of unique classes of expression in window |
... | etc |
For example:
pcrcalc smooth.map = windowaverage(dem.map, 5 * celllength())