View source: R/POST_FATE.graphic_evolutionPixels.R
POST_FATE.graphic_evolutionPixels | R Documentation |
FATE
simulationThis script is designed to produce one graphical representation
for a FATE
simulation : the evolution through time of the
abundance of each PFG for 5 (or more) randomly selected cells of the studied
area.
POST_FATE.graphic_evolutionPixels(
name.simulation,
file.simulParam = NULL,
opt.cells_ID = NULL,
opt.doPlot = TRUE
)
name.simulation |
a |
file.simulParam |
default |
opt.cells_ID |
(optional) default |
opt.doPlot |
(optional) default |
This function allows to obtain, for a specific FATE
simulation and
a specific parameter file within this simulation, one preanalytical graphic :
the evolution of abundance of each Plant Functional Group
through simulation time, within 5 (or more) randomly selected pixels of
the studied area (FATE
arbitrary unit)
if light was activated (see
PRE_FATE.params_globalParameters
),
evolution of
light resources within the selected pixels is also represented
(1
: Low, 2
: Medium, 3
: High)
if soil was activated (see
PRE_FATE.params_globalParameters
),
evolution of
soil resources within the selected pixels is also represented
(user-defined scale)
It requires that the POST_FATE.temporalEvolution
function has been run and that the file
POST_FATE_TABLE_PIXEL_evolution_abundance.csv
exists (as well as the
POST_FATE_TABLE_PIXEL_evolution_light.csv
and
POST_FATE_TABLE_PIXEL_evolution_soil.csv
files if those modules were
activated).
A list
containing one data.frame
object with the
following columns, and one ggplot2
object :
TYPE
concerned information (either 'light
',
'abundance
' or 'soil
')
GROUP
concerned entity (either
'STRATUM_[...]
', PFG name or 'soil
')
ID.pixel
number of the concerned pixel
HAB
habitat of the concerned pixel
YEAR
concerned simulation year
value
concerned value extracted from .csv
files
produced by POST_FATE.temporalEvolution
ggplot2
object, representing the evolution of each PFG
abundance, and light and soil resources if those modules were
activated
One POST_FATE_TABLE_PIXEL_evolution_pixels_[...].csv
file is created :
always, containing the data.frame
detailed
above
One POST_FATE_[...].pdf
file is created :
to visualize for each PFG the evolution of its abundance within each selected pixel through simulation time
Maya Guéguen
POST_FATE.temporalEvolution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.