Description Usage Arguments Details Value Author(s)
Water disperse seeds from a seed layer using GRASS
1 | waterDispGRASS(input, output="waterDispSeeds", flowdir, depRates, zeroToNULL = TRUE, overwrite = FALSE)
|
input |
name of GRASS raster layer specifying number of seeds to be dispersed - |
output |
name of GRASS raster layer generated, containing the dispersed seeds - |
flowdir |
|
depRates |
|
zeroToNULL |
|
overwrite |
|
This function disperses seeds using water dispersal using the raster flowdir
in GRASS agnps format
and a raster containing the deposit rates of the seeds for each cell (values rangingfrom 0 to 1).
The principle in this module is as follow:
create empty output layer
copy input layer into seedsToBeDispersed
repeat
calculate seeds which are deposited in each cell based on depRates and add these to the output layer
subtract the deposited seeds from the seedsToBeDispersed layer
disperse remaining seeds in each direction separately for each cell
add up dispersed seeds and store in seedsToBeDispersed
until seedsToBeDispersed is empty
end
character
name of the output layer
Rainer M Krug Rainer@krugs.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.