View source: R/estimate_dissimilarity_coefficient.R
estimate_dissimilarity_coefficient | R Documentation |
Calculate the dissimilarity coeficient
estimate_dissimilarity_coefficient(
data_source_dc,
dissimilarity_coefficient = "chord",
verbose = FALSE
)
data_source_dc |
Data.frame with taxons as columns |
dissimilarity_coefficient |
Character. Dissimilarity coefficient. Type of calculation of differences
between Working Units. See
|
verbose |
Logical. If |
Five in-built dissimilarity coefficients are available:
Euclidean distance (dissimilarity_coefficient
= "euc"
)
standardised Euclidean distance (dissimilarity_coefficient
= "euc.sd"
)
Chord distance (dissimilarity_coefficient
= "chord"
)
Chi-squared coefficient (dissimilarity_coefficient
= "chisq"
)
Gower's distance (dissimilarity_coefficient
= "gower"
)
Bray-Curtis distance (dissimilarity_coefficient
= "bray"
)
The choice of dissimilarity_coefficient depends on the type of assemblage data. In addition, RoC
between WUs be calculated using every consecutive WU (only_subsequent
= FALSE
),
or alternatively, calculation of RoC can be restricted to only directly
adjacent WUs (only_subsequent
= TRUE
). Using the former increases
the number of samples for which RoC can be calculated within a sequence,
which varies in terms of sample resolution, but may still introduce
biases related to the RoC estimation as a result of the varying
inter-sample distances.
vegan::vegdist()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.