Description Usage Arguments Details Value Examples
Smooth a raster surface using a moving window with a given function, radius and shape.
1 |
fine_dat |
The raster dataset on which to calculate the moving window function |
d |
numeric. If |
type |
The shape of the moving window |
win_fun |
function. The function to apply. If not choosing one of the inbuilt
grainchanger functions, the function should take multiple numbers, and return a
single number. For example |
... |
further arguments passed to or from other methods |
grainchanger has several built-in functions. Functions currently
included are:
wm_shei - Shannon evenness, requires the
additional argument lc_class (vector or scalar)
wm_prop -
Proportion, requires the additional argument lc_class (scalar)
wm_classes - Unique number of classes in a categorical landscape
var_range - Range (max - min)
RasterLayer. A smoothed raster with the moving window values calculated
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.