Double Constrained Correspondence Analysis for Trait-Environment Analysis in Ecology
Overview
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.
- No user visible changes.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-28
- ERROR10 OK, 3 ERROR2026-07-27
- OK14 OK2026-03-10
Documentation
- Help pages
- 29 (2 internal)includes a package overview page
- Examples that run
- 100%25 run in a plain check
- Exported functions with examples
- 85%
- Documented parameters
- 99%
- Return-value docs
- 92%
- Help pages citing references
- 45%
Also includes 15 demo scripts (run with demo())
Downloads
Repository
- PRs merged (all time)
- 0%
- Median days to close, 50 most recently updated closed issues
- 8
- Median days to close, 50 most recently updated closed PRs
- 4
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/biometris/douconca on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-09 · The repository has a site deploy workflow
Show all practicesHide 2 practices
Dependencies
Code & Tests
Datasets
People & History
Package metadata
- First published
- 2024-09-13
- Total releases
- 8 / 2 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 2.6 KB / 1 file
- Download size
- 834 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("douconca")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.