DataInfo3D {iNEXT.3D} | R Documentation |
Data information for reference samples
Description
DataInfo3D
provides basic data information for 3D diversity based on a reference sample.
Usage
DataInfo3D(
data,
diversity = "TD",
datatype = "abundance",
nT = NULL,
PDtree,
PDreftime = NULL,
FDdistM,
FDtype = "AUC",
FDtau = NULL
)
Arguments
data |
(a) For |
diversity |
selection of diversity type: |
datatype |
data type of input data: individual-based abundance data ( |
nT |
(required only when |
PDtree |
(required argument for |
PDreftime |
(argument only for |
FDdistM |
(required argument for |
FDtype |
(argument only for |
FDtau |
(argument only for |
Value
a data.frame including basic data information.
For abundance data, basic information shared by TD, mean-PD and FD includes assemblage name (Assemblage
),
sample size (n
), observed species richness (S.obs
), sample coverage estimates of the reference sample (SC(n)
),
sample coverage estimate for twice the reference sample size (SC(2n)
). Other additional information is given below.
(1) TD: the first five species abundance counts (f1
–f5
).
(2) Mean-PD: the observed total branch length in the phylogenetic tree (PD.obs
),
the number of singletons (f1*
) and doubletons (f2*
) in the node/branch abundance set, as well as the total branch length
of those singletons (g1
) and of those doubletons (g2
), and the reference time (Reftime
).
(3) FD (FDtype = "AUC"
): the minimum distance among all non-diagonal elements in the distance matrix (dmin
), the mean distance
(dmean
), and the maximum distance (dmax
) in the distance matrix.
(4) FD (FDtype = "tau_values"
): the number of singletons (a1*
) and of doubletons (a2*
) among the functionally indistinct
set at the specified threshold level 'Tau'
, as well as the total attribute contribution of singletons (h1
) and of doubletons (h2
)
at the specified threshold level 'Tau'
.
For incidence data, the basic information for TD includes assemblage name (Assemblage
), number of sampling units (T
),
total number of incidences (U
), observed species richness (S.obs
),
sample coverage estimates of the reference sample (SC(T)
), sample coverage estimate for twice the reference sample size
(SC(2T)
), as well as the first five species incidence frequency counts (Q1
–Q5
). For mean-PD and FD, output is similar to that
for abundance data.
Examples
# Taxonomic diversity for abundance data
data(Brazil_rainforest_abun_data)
DataInfo3D(Brazil_rainforest_abun_data, diversity = 'TD', datatype = "abundance")
# Phylogenetic diversity for abundance data
data(Brazil_rainforest_abun_data)
data(Brazil_rainforest_phylo_tree)
data <- Brazil_rainforest_abun_data
tree <- Brazil_rainforest_phylo_tree
DataInfo3D(data, diversity = 'PD', datatype = "abundance", PDtree = tree)
# Functional diversity for abundance data with FDtype = 'AUC'
data(Brazil_rainforest_abun_data)
data(Brazil_rainforest_distance_matrix)
data <- Brazil_rainforest_abun_data
distM <- Brazil_rainforest_distance_matrix
DataInfo3D(data, diversity = 'FD', datatype = "abundance",
FDdistM = distM, FDtype = 'AUC')
# Functional diversity for abundance data with FDtype = 'tau_values'
data(Brazil_rainforest_abun_data)
data(Brazil_rainforest_distance_matrix)
data <- Brazil_rainforest_abun_data
distM <- Brazil_rainforest_distance_matrix
DataInfo3D(data, diversity = 'FD', datatype = "abundance",
FDdistM = distM, FDtype = 'tau_values')
# Taxonomic diversity for incidence data
data(Fish_incidence_data)
DataInfo3D(Fish_incidence_data, diversity = 'TD', datatype = "incidence_raw")
# Phylogenetic diversity for incidence data
data(Fish_incidence_data)
data(Fish_phylo_tree)
data <- Fish_incidence_data
tree <- Fish_phylo_tree
DataInfo3D(data, diversity = 'PD', datatype = "incidence_raw", PDtree = tree)
# Functional diversity for incidence data with FDtype = 'AUC'
data(Fish_incidence_data)
data(Fish_distance_matrix)
data <- Fish_incidence_data
distM <- Fish_distance_matrix
DataInfo3D(data, diversity = 'FD', datatype = "incidence_raw",
FDdistM = distM, FDtype = 'AUC')
# Functional diversity for incidence data with FDtype = 'tau_values'
data(Fish_incidence_data)
data(Fish_distance_matrix)
data <- Fish_incidence_data
distM <- Fish_distance_matrix
DataInfo3D(data, diversity = 'FD', datatype = "incidence_raw",
FDdistM = distM, FDtype = 'tau_values')