douconca1.2.4 package

Double Constrained Correspondence Analysis for Trait-Environment Analysis in Ecology

anova_sites

Utility function: community-level permutation test in Double Constrain...

anova_species

Utility function: Species-level Permutation Test in Double Constrained...

anova.cca0

Permutation Test for canonical correspondence analysis

anova.dcca

Community- and Species-Level Permutation Test in Double Constrained Co...

anova.wrda

Permutation Test for weighted redundancy analysis

cca0

Performs a canonical correspondence analysis

coef.dcca

Coefficients of double-constrained correspondence analysis (dc-CA)

dc_CA

Performs (weighted) double constrained correspondence analysis (dc-CA)

douconca-package

The package douconca performs double constrained correspondence analys...

fCWM_SNC

Calculate community weighted means and species niche centroids for dou...

fitted.dcca

Fitted values of double-constrained correspondence analysis (dc-CA)

fN2

Hill number of order 2: N2

FS.dcca

Forward selection of traits or environmental variables using dc-CA.

FS

Default forward selection function.

FS.wrda

Forward selection of predictor variables using wrda or cca0

getPlotdata

Utility function: extracting data from a dc_CA object for plotting a...

ipf2N2

Iterative proportional fitting of an abundance table to Hill-N2 margin...

plot_dcCA_CWM_SNC

Plot the CWMs and SNCs of a single dc-CA axis.

plot_species_scores_bk

Vertical ggplot2 line plot of ordination scores

plot.dcca

Plot a single dc-CA axis with CWMs, SNCs, trait and environment scores...

predict.dcca

Prediction for double-constrained correspondence analysis (dc-CA)

predict.wrda

Prediction from cca0 and wrda models

print.dcca

Print a summary of a dc-CA object.

print.wrda

Print a summary of a wrda or cca0 object

reexports

Objects exported from other packages

scores.dcca

Extract results of a double constrained correspondence analysis (dc-CA...

scores.wrda

Extract results of a weighted redundancy analysis (wrda) or a cca0 obj...

wrda

Performs a weighted redundancy analysis

Double constrained correspondence analysis (dc-CA) analyzes (multi-)trait (multi-)environment ecological data by using the 'vegan' package and native R code. Throughout the two step algorithm of ter Braak et al. (2018) is used. This algorithm combines and extends community- (sample-) and species-level analyses, i.e. the usual community weighted means (CWM)-based regression analysis and the species-level analysis of species-niche centroids (SNC)-based regression analysis. The two steps use canonical correspondence analysis to regress the abundance data on to the traits and (weighted) redundancy analysis to regress the CWM of the orthonormalized traits on to the environmental predictors. The function dc_CA() has an option to divide the abundance data of a site by the site total, giving equal site weights. This division has the advantage that the multivariate analysis corresponds with an unweighted (multi-trait) community-level analysis, instead of being weighted. The first step of the algorithm uses vegan::cca(). The second step uses wrda() but vegan::rda() if the site weights are equal. This version has a predict() function. For details see ter Braak et al. 2018 <doi:10.1007/s10651-017-0395-x>. and ter Braak & van Rossum 2025 <doi:10.1016/j.ecoinf.2025.103143>.

  • Maintainer: Bart-Jan van Rossum
  • License: GPL-3
  • Last published: 2025-10-14