Description Usage Arguments Examples
View source: R/new.floatparam.R
Create a set of floating point parameters for a Rmetasim landscape.
1 2 3 4 |
rland |
skeletion of landscape object, required |
s |
selfing (default=0), the selfing rate of the species |
seedscale |
two element vector that provides the scale of the exponential/Weibull and mean of the Gaussian components of the seed dispersal kernel. |
seedshape |
two element vector that provides the shape of the exponential/Weibull and sd of the Gaussian components of the seed dispersal kernel, respectively. If the first element of the vector is set to 1, the Weibull portion of the kernel becomes an exponential. |
seedmix |
the mixture parameter (ranges from 0-1) that weights the Weibull/exponential versus Gaussian portions of the dispersal kernel. A value of 1 selects dispersal distances from only the Weibull/exponential portion. A value of 0 selects distances only from the Gaussian portion. |
pollenscale |
two element vector that provides the scale of the exponential/Weibull and mean of the Gaussian components of the pollen dispersal kernel. |
pollenshape |
two element vector that provides the shape of the exponential/Weibull and sd of the Gaussian components of the pollen dispersal kernel, respectively. If the first element of the vector is set to 1, the Weibull portion of the kernel becomes an exponential. |
pollenmix |
the mixture parameter (ranges from 0-1) that weights the Weibull/exponential versus Gaussian portions of the dispersal kernel. A value of 1 selects dispersal distances from only the Weibull/exponential portion. A value of 0 selects distances only from the Gaussian portion. |
1 2 3 4 5 6 7 8 9 10 11 | ## Defaults
exampleland <- landscape.new.empty()
exampleland <- landscape.new.floatparam(exampleland)
exampleland$floatparam
## .5 selfing rate
exampleland <- landscape.new.empty()
exampleland <- landscape.new.floatparam(exampleland,s=0.5)
exampleland$floatparam
rm(exampleland)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.