View source: R/POST_FATE.relativeAbund.R
POST_FATE.relativeAbund | R Documentation |
FATE
simulationThis script is designed to produce raster maps of PFG
simulated relative abundances for one (or several) specific FATE
simulation year.
POST_FATE.relativeAbund(
name.simulation,
file.simulParam = NULL,
years,
opt.no_CPU = 1
)
name.simulation |
a |
file.simulParam |
default |
years |
an |
opt.no_CPU |
(optional) default |
This function allows to obtain, for a specific FATE
simulation and
a specific parameter file within this simulation, raster maps of PFG
relative abundance.
For each PFG and each selected simulation year, raster maps are retrieved
from the results folder ABUND_perPFG_allStrata
and unzipped.
Informations extracted lead to the production of the same number of raster
before the maps are compressed again :
for each selected simulation year(s), relative abundances for all strata combined are calculated :
\frac{abund_{\text{ PFG}_i\text{, }\text{Stratum}_{all}}}
{abund_{\text{ PFG}_{all}\text{, }\text{Stratum}_{all}}}
These raster
files can then be used by other functions :
to produce presence/absence maps and validation
statistics, and associated graphics
(see
POST_FATE.graphic_validationStatistics
)
One result folder is created :
containing relative abundance raster maps for each PFG across all strata
Maya Guéguen
POST_FATE.graphic_validationStatistics
## Not run:
POST_FATE.relativeAbund(name.simulation = "FATE_simulation"
, file.simulParam = "Simul_parameters_V1.txt"
, years = 850
, opt.no_CPU = 1)
POST_FATE.relativeAbund(name.simulation = "FATE_simulation"
, file.simulParam = "Simul_parameters_V1.txt"
, years = c(850, 950)
, opt.no_CPU = 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.