douconca

Analysis of multi-trait multi-environment ecological data using double constrained correspondence analysis

https://github.com/biometris/douconca

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.8%) to scientific vocabulary

Keywords

correspondence-analysis ecology ecology-modeling multi-environment multi-trait r-package
Last synced: 6 months ago · JSON representation

Repository

Analysis of multi-trait multi-environment ecological data using double constrained correspondence analysis

Basic Info
Statistics
  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Topics
correspondence-analysis ecology ecology-modeling multi-environment multi-trait r-package
Created over 1 year ago · Last pushed 10 months ago
Metadata Files
Readme Changelog Zenodo

README.Rmd

---
output: github_document
editor_options: 
  markdown: 
    wrap: 72
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# douconca



[![](https://www.r-pkg.org/badges/version/douconca)](https://www.r-pkg.org/pkg/douconca)
[![CRAN RStudio mirror
downloads](https://cranlogs.r-pkg.org/badges/douconca)](https://www.r-pkg.org/pkg/douconca)
[![R-CMD-check](https://github.com/Biometris/douconca/workflows/R-CMD-check/badge.svg)](https://github.com/Biometris/douconca/actions?workflow=R-CMD-check)
[![codecov](https://codecov.io/gh/Biometris/douconca/branch/main/graph/badge.svg)](https://app.codecov.io/gh/Biometris/douconca)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.13970152.svg)](https://doi.org/10.5281/zenodo.13970152)



R library `douconca` analyzes multi-trait multi-environment ecological
data by double constrained correspondence analysis (ter Braak & van Rossum,
2025) using `vegan` and native R code. It has a `formula` interface for
the trait- (column-) and environment- (row-) models, which allows to
assess, for example, the importance of trait interactions in shaping
ecological communities. 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 CWM
regressions are specified with an environmental formula and the SNC
regressions are specified with a trait formula. dcCA finds the
environmental and trait gradients that optimize these regressions. The
first step uses
[cca](https://vegandevs.github.io/vegan/reference/cca.html){.uri}
(Oksanen et al. 2022) to regress the transposed abundance data on to the
traits and (weighted) redundancy analysis to regress the
community-weighted means (CWMs) of the orthonormalized traits, obtained
from the first step, on to the environmental predictors. The sample
total of the abundance data are used as weights. The redundancy analysis
is carried out using
[rda](https://vegandevs.github.io/vegan/reference/rda.html){.uri} if
sites have equal weights (after division of the rows by their total) or,
in the general weighted case, using `wrda`. Division by the sample total
has the advantage that the multivariate analysis corresponds with an
unweighted (multi-trait) community-level analysis, instead of being
weighted, which may give a puzzling difference between common univariate
and this multivariate analysis.

References:	
ter Braak, CJF, Šmilauer P, and Dray S. 2018. Algorithms and
biplots for double constrained correspondence analysis. Environmental
and Ecological Statistics, 25(2), 171-197.


ter  Braak, C.J.F. and van Rossum, B. (2025).
Linking Multivariate Trait Variation to the Environment: 
Advantages of Double Constrained Correspondence Analysis 
with the R Package Douconca. Ecological Informatics, 88.

## Installation

You can install the CRAN version of `douconca` by:

``` r
install.packages("douconca")
```

You can install the development version of `douconca` by:

``` r
install.packages("remotes")
remotes::install_github("Biometris/douconca", ref = "develop", dependencies = TRUE)
```

Owner

  • Name: Wageningen Universtiy & Research, Biometris
  • Login: Biometris
  • Kind: organization
  • Email: biometris@wur.nl
  • Location: Wageningen, The Netherlands

Biometris develops statistical and mathematical methods for the quantification of biological processes and processes in our living environment.

GitHub Events

Total
  • Release event: 2
  • Push event: 20
  • Create event: 1
Last Year
  • Release event: 2
  • Push event: 20
  • Create event: 1

Packages

  • Total packages: 1
  • Total downloads:
    • cran 226 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 1
cran.r-project.org: douconca

Double Constrained Correspondence Analysis for Trait-Environment Analysis in Ecology

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 226 Last month
Rankings
Dependent packages count: 28.2%
Dependent repos count: 34.8%
Average: 49.9%
Downloads: 86.7%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/check.yaml actions
  • actions/checkout v4 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.5.0 composite
  • actions/checkout v4 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v4 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • R >= 3.6.0 depends
  • ggplot2 >= 3.5.1 imports
  • ggrepel * imports
  • gridExtra * imports
  • permute * imports
  • rlang * imports
  • stats * imports
  • vegan >= 2.6 imports
  • knitr * suggests
  • rmarkdown * suggests
  • tinytest * suggests