View source: R/create_landscape.R
landscape.new.floatparam | R Documentation |
Create a set of floating point parameters for a Rmetasim landscape.
## must be called AFTER landscape.new.empty()
landscape.new.floatparam(rland,s=0)
rland |
skeletion of landscape object, required |
s |
selfing (default=0), the selfing rate of the species |
## 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.