Description Usage Arguments Details Value Author(s)
Calculating seed production based on provided function
1 2 | seedProdBasicGRASS(age, inds, output,
seedProdPerIndFunction, initial=FALSE, overwrite=FALSE)
|
age |
raster layer containing the age of the species in each cell |
inds |
raster layer containing the number of individuals per cell |
output |
name of the output raster layer which will containing the number of newly produced seeds |
seedProdPerIndFunction |
function used to calculate the number of seeds based on the age in each cell |
initial |
|
overwrite |
|
Calculate seed production per cell based on the age and number of individuals per cell by using a user specified R function. Input and output is from GRASS raster layers.
If initial == TRUE
, the seed production over the
lifetime of the plant will be returned.
The function seedProdPerInd
has to have the
following form:
seedProdPerInd <- function(age){...}
where
age
is the age of the plant and the function
returns the nomber of seeds produced.
The MASK in GRASS is not respected.
invisibly returns name of 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.