Description Usage Arguments Value Author(s) See Also Examples
View source: R/SAVE_FATE.step1_PFG.R
This script is designed to gather all data and parameters used to build a set of Plant Functional Groups.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 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)
sitesname of sampling site
(x, y)coordinates of sampling site
speciesname of the concerned species
abundabundance 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)
speciesname of the concerned species
GROUPname 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)
GROUPname of data subset
no.clustersnumber of clusters used for the clustering
variableevaluation metrics' name
valuevalue of evaluation metric
number of clusters to be kept for each data subset
(see PRE_FATE.speciesClustering_step2)
PFGID of the plant functional group
(GROUP + ID.cluster)
GROUPname of data subset
ID.clustercluster number
speciesname of species
ID.speciesspecies number in each PFG
DETERMINANTTRUE 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)
PFGname of the concerned functional group
no.speciesnumber 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
1 | ## Load example data
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.