Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/PRE_FATE.params_PFGdispersal.R
This script is designed to create parameter files containing
dispersal distances for each PFG (one file for each of them) used in the
dispersal module of FATE
.
1 2 3 4 5 | PRE_FATE.params_PFGdispersal(
name.simulation,
mat.PFG.disp,
opt.folder.name = NULL
)
|
name.simulation |
a |
mat.PFG.disp |
a |
opt.folder.name |
(optional) |
A dispersal module is available to make the FATE
model
spatially explicit by dispersing seeds of each PFG with a kernel (see
PRE_FATE.params_globalParameters
).
Dispersal distances are needed for each PFG to quantify the amount of seeds dispersed into 3 different concentric circles :
the distance at which 50%
of seeds are dispersed
the distance at which 99%
of seeds are dispersed
the long dispersal distance at which 100%
of seeds are dispersed
A .txt
file per PFG into the
name.simulation/DATA/PFGS/DISP/
directory with the following
parameters :
dispersal distances (3 values) (in meters)
A ‘DISP_COMPLETE_TABLE.csv’ file summarizing information for all groups into the ‘name.simulation/DATA/PFGS/’ directory.
If the opt.folder.name
has been used, the files will be into the
folder ‘name.simulation/DATA/PFGS/DISP/opt.folder.name/’.
Maya Guéguen
PRE_FATE.skeletonDirectory
,
PRE_FATE.params_globalParameters
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Create a skeleton folder with the default name ('FATE_simulation')
PRE_FATE.skeletonDirectory()
## Create PFG dispersal parameter files
PRE_FATE.params_PFGdispersal(name.simulation = "FATE_simulation"
, mat.PFG.disp = data.frame(PFG = c("PFG1", "PFG2", "PFG3")
, d50 = c(50, 50, 10)
, d99 = c(1000, 1500, 2000)
, ldd = c(10000, 5000, 10000)))
## ----------------------------------------------------------------------------------------- ##
## Load example data
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.