View source: R/SAVE_FATE.step1_PFG.R
SAVE_FATE.step1_PFG | R Documentation |
This script is designed to gather all data and parameters used to build a set of Plant Functional Groups.
SAVE_FATE.step1_PFG(
name.dataset,
mat.observations,
rules.selectDominant = c(doRuleA = NA, rule.A1 = NA, rule.A2_quantile = NA, doRuleB =
NA, rule.B1_percentage = NA, rule.B1_number = NA, rule.B2 = NA, doRuleC = NA),
mat.traits,
mat.overlap = NA,
rules.speciesDistance = c(opt.maxPercent.NA = NA, opt.maxPercent.similarSpecies = NA,
opt.min.sd = NA),
mat.species.DIST,
clust.evaluation = NA,
no.clusters,
determ.all,
mat.traits.PFG
)
name.dataset |
a |
mat.observations |
a |
rules.selectDominant |
(optional) default |
mat.traits |
a |
mat.overlap |
(optional) default
(see |
rules.speciesDistance |
(optional) default |
mat.species.DIST |
a |
clust.evaluation |
(optional) default |
no.clusters |
an |
determ.all |
a |
mat.traits.PFG |
a |
A list
containing all the elements given to the function and
checked :
name of the dataset
(see PRE_FATE.selectDominant
)
sites
name of sampling site
(x, y)
coordinates of sampling site
species
name of the concerned species
abund
abundance of the concerned species
(habitat)
habitat of sampling site
a vector
containing values for the
parameters doRuleA
, rule.A1
, rule.A2_quantile
,
doRuleB
, rule.B1_percentage
, rule.B1_number
,
rule.B2
, doRuleC
(see PRE_FATE.selectDominant
)
(see PRE_FATE.speciesDistance
)
species
name of the concerned species
GROUP
name of the concerned data subset
...
one column for each functional trait
a dist
object corresponding to the distance
between each pair of species in terms of niche overlap (see
PRE_FATE.speciesDistance
)
a vector
containing values for the
parameters opt.maxPercent.NA
, opt.maxPercent.similarSpecies
,
opt.min.sd
(see PRE_FATE.speciesDistance
)
a dist
object corresponding to the distance
between each pair of species, or a list
of dist
objects, one
for each GROUP
value (see PRE_FATE.speciesDistance
)
(see PRE_FATE.speciesClustering_step1
)
GROUP
name of data subset
no.clusters
number of clusters used for the clustering
variable
evaluation metrics' name
value
value of evaluation metric
number of clusters to be kept for each data subset
(see PRE_FATE.speciesClustering_step2
)
PFG
ID of the plant functional group
(GROUP
+ ID.cluster
)
GROUP
name of data subset
ID.cluster
cluster number
species
name of species
ID.species
species number in each PFG
DETERMINANT
TRUE
if determinant species, FALSE
otherwise
(sp.mean.dist)
species mean distance to other species of the same PFG
(allSp.mean)
mean(\text{sp.mean.dist})
within the PFG
(allSp.min)
mean(\text{sp.mean.dist}) - 1.64 *
sd(\text{sp.mean.dist})
within the PFG
(allSp.max)
mean(\text{sp.mean.dist}) + 1.64 *
sd(\text{sp.mean.dist})
within the PFG
(see PRE_FATE.speciesClustering_step3
)
PFG
name of the concerned functional group
no.species
number of species in the concerned PFG
...
one column for each functional trait
The information is written in ‘FATE_dataset_[name.dataset]_step1_PFG.RData’ file.
Maya Guéguen
PRE_FATE.abundBraunBlanquet
,
PRE_FATE.selectDominant
,
PRE_FATE.speciesDistance
,
PRE_FATE.speciesClustering_step1
,
PRE_FATE.speciesClustering_step2
,
PRE_FATE.speciesClustering_step3
## Load example data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.