<- readRDS("wetlands.rds") wetlands
Detrended Correspondence Analysis
method
Detrended Correspondence Analysis (DCA) is an extension of CA that aims to avoid the arch effect in the resulting ordination.
Description
Detrended Correspondence Analysis (DCA) is an extension of CA designed to reduce the arch-artefact. DCA detrends the data by removing the long gradients present in the data, allowing for more accurate representation of ecological patterns.
The length of the first DCA axis (in SD units) is related to the heterogeneity/homogeneity of the dataset, and can be used to decide whether data should be analysed by linear (axis shorter than 3 SD) or unimodal (axis longer than 4 SD) ordination methods.
Example
library(vegan)
library(vegtable)
# Reclasify abundance
$obs$abund <- cut(wetlands$obs$cover_perc,
wetlandsbreaks = c(0, 25, 50, 100), labels = FALSE)
$cross2 <- crosstable(abund ~ taxon_code + plot_id,
wetlandsFUN = max, data = wetlands$obs,
na_to_zero = TRUE,
as_matrix = TRUE)
<- decorana(wetlands$cross2)
dca_ord plot(dca_ord)
Alternative functions
vegan::decorana()