Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/PRE_FATE.params_PFGlight.R
This script is designed to create parameter files containing
light-related parameters for each PFG (one file for each of them) used in
the light module of FATE
.
1 2 3 4 5 6 | PRE_FATE.params_PFGlight(
name.simulation,
mat.PFG.light,
mat.PFG.tol = NULL,
opt.folder.name = NULL
)
|
name.simulation |
a |
mat.PFG.light |
a
(see |
mat.PFG.tol |
(optional)
(see |
opt.folder.name |
(optional) |
The light module allows the user to add the effect of
light competition within a primary vegetation succession.
Several parameters, given within mat.PFG.light
or mat.PFG.tol
,
are required for each PFG in order to set up this light competition :
the concerned plant functional group
or life-form, based on Raunkier.
It should be either
H
(herbaceous), C
(chamaephyte) or P
(phanerophyte)
for now
an integer
between 0
and
10
corresponding to the proportion of seeds that will germinate for
Low
light condition
an integer
between 0
and
10
corresponding to the proportion of seeds that will germinate for
Medium
light condition
an integer
between 0
and
10
corresponding to the proportion of seeds that will germinate for
High
light condition
a string
to choose the germination
strategy :
light_lover
, indifferent
, shade_lover
an integer
between 0
and 5
corresponding to the light preference of the PFG (e.g. from Flora
Indicativa)
the concerned life stage (Germinant
,
Immature
, Mature
)
the concerned light condition (Low
,
Medium
, High
)
an integer
between 0
and 10
corresponding to the proportion of surviving individuals
a string
to choose the tolerance
strategy :
full_light
, pioneer
, ubiquist
,
semi_shade
, undergrowth
These values will allow to calculate or define a set of characteristics for each PFG :
proportion of seeds that will germinate for each light
condition (Low
, Medium
, High
)
Three methods to define these proportions are available :
from predefined scenarios (using strategy_ag
) :
| _L_ _M_ _H_ |
_______________
| 50% 80% 90% |
| 90% 90% 90% |
| 90% 80% 50% |
from predefined rules (using type
) :
for H
(herbaceous) : 50%, 80%, 90%
for C
(chamaephyte) or P
(phanerophyte):
90%, 90%, 90%
from user data :
with the values contained within the active_germ_low
,
active_germ_medium
and active_germ_high
columns, if
provided
defined for each life stage (Germinant
,
Immature
, Mature
)
and each soil condition (Low
,
Medium
, High
)
Three methods to define these tolerances are available :
from predefined scenarios (using
strategy_tol
) :
.
means Not tolerant, 1
means
Tolerant (100%
)
with g
: Germinant, i
: Immature, m
: Mature
with L
: low light, M
: medium light, H
:
high light
| _ g _ | _ i _ | _ m _ |
| L M H | L M H | L M H |
_________________________
| 1 1 1 | . . 1 | . . 1 |
| 1 1 1 | . 1 1 | . 1 1 |
| 1 1 1 | 1 1 1 | 1 1 1 |
| 1 1 . | 1 1 . | 1 1 1 |
| 1 1 . | 1 1 . | 1 1 . |
from predefined rules (using type
and
light_need
):
PFG are tolerant to Low
light if light <= 2
PFG are tolerant to Medium
light if
2 <= light <= 4
PFG are tolerant to High
light if
light >= 3
all germinants are assumed to be tolerant to Low
light
all mature trees or chamaephytes are assumed to be
tolerant to Medium
and High
light conditions
all immature trees that grow in the
penultimate stratum are assumed to be tolerant to High
light
!! desactivated !!
.
means Not tolerant
A, B, C, D
mean Tolerant according to one of
the rule defined above
with g
: Germinant, i
: Immature, m
: Mature
with L
: low light, M
: medium light, H
:
high light
| _ g _ | _ i _ | _ m _ |
| L M H | L M H | L M H |
_________________________
| A . . | A . D | A C C |
| A A . | A A D | A A C |
| B A . | . A D | . A C |
| B A A | . A A | . A A |
| B . A | . . A | . C A |
from user data :
with the values contained within the lifeStage
,
resources
and tolerance
columns, if provided
A .txt
file per PFG into the
name.simulation/DATA/PFGS/LIGHT/
directory with the following
parameters :
name of the PFG
germination rates depending on light conditions
(from 0
to 10
, corresponding to 0 to 100%)
light value or strategy of the PFG
light tolerance table (in a single row).
This is a vector of 9 numbers corresponding to the ability of the PFG to
survive or not :
at different life stages (Germinant (Ge
), Immature
(Im
), Mature (Ma
))
under different light conditions (Low (L
), Medium
(M
) or High (H
)).
These parameters should be given in this order : GeL, GeM, GeH, ImL,
ImM, ImH, MaL, MaM, MaH
(from 0
to 10
, corresponding to 0 to 100%).
A LIGHT_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/LIGHT/opt.folder.name/
.
Maya Guéguen
PRE_FATE.skeletonDirectory
,
PRE_FATE.params_globalParameters
,
PRE_FATE.params_PFGsuccession
1 2 3 4 | ## ----------------------------------------------------------------------------------------- ##
## Load example data
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.