{
  "_id": "6a12a92facfb0bcc41d15b19",
  "Package": "douconca",
  "Type": "Package",
  "Title": "Double Constrained Correspondence Analysis for Trait-Environment\nAnalysis in Ecology",
  "Version": "1.2.5",
  "Date": "2026-02-23",
  "Authors@R": "c(person(given = \"Cajo J.F\", \nfamily = \"ter Braak\",\nemail = \"cajo.terbraak@wur.nl\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-0414-8745\")),\nperson(given = \"Bart-Jan\",\nfamily = \"van Rossum\",\nemail = \"bart-jan.vanrossum@wur.nl\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-8673-2514\")))",
  "Description": "Double constrained correspondence analysis (dc-CA)\nanalyzes (multi-)trait (multi-)environment ecological data by\nusing the 'vegan' package and native R code. Throughout the two\nstep algorithm of ter Braak et al. (2018) is used. This\nalgorithm combines and extends community- (sample-) and\nspecies-level analyses, i.e. the usual community weighted means\n(CWM)-based regression analysis and the species-level analysis\nof species-niche centroids (SNC)-based regression analysis. The\ntwo steps use canonical correspondence analysis to regress the\nabundance data on to the traits and (weighted) redundancy\nanalysis to regress the CWM of the orthonormalized traits on to\nthe environmental predictors. The function dc_CA() has an\noption to divide the abundance data of a site by the site\ntotal, giving equal site weights. This division has the\nadvantage that the multivariate analysis corresponds with an\nunweighted (multi-trait) community-level analysis, instead of\nbeing weighted. The first step of the algorithm uses\nvegan::cca(). The second step uses wrda() but vegan::rda() if\nthe site weights are equal. This version has a predict()\nfunction. For details see ter Braak et al. 2018\n<doi:10.1007/s10651-017-0395-x>. and ter Braak & van Rossum\n2025 <doi:10.1016/j.ecoinf.2025.103143>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "no",
  "VignetteBuilder": "knitr",
  "URL": "https://zenodo.org/records/13970152,\nhttps://github.com/Biometris/douconca",
  "BugReports": "https://github.com/Biometris/douconca/issues",
  "Repository": "https://biometris.r-universe.dev",
  "Date/Publication": "2026-02-23 12:48:12 UTC",
  "RemoteUrl": "https://github.com/biometris/douconca",
  "RemoteRef": "HEAD",
  "RemoteSha": "b56e98d23c3c52d872a7a03fb150dd97196015b6",
  "Packaged": {
    "Date": "2026-05-24 07:25:01 UTC",
    "User": "root"
  },
  "Author": "Cajo J.F ter Braak [aut] (ORCID:\n<https://orcid.org/0000-0002-0414-8745>),\nBart-Jan van Rossum [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8673-2514>)",
  "Maintainer": "Bart-Jan van Rossum <bart-jan.vanrossum@wur.nl>",
  "MD5sum": "6ca68af1597461e1181d24356d65884f",
  "_user": "biometris",
  "_type": "src",
  "_file": "douconca_1.2.5.tar.gz",
  "_fileid": "f9d024e403144529bda3859690dcbe0a7a45c5de91a559eb94bdfcc8487257db",
  "_filesize": 1232702,
  "_sha256": "f9d024e403144529bda3859690dcbe0a7a45c5de91a559eb94bdfcc8487257db",
  "_created": "2026-05-24T07:25:01.000Z",
  "_published": "2026-05-24T07:30:55.802Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77580300989,
      "time": 186,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183262719"
    },
    {
      "job": 77580300990,
      "time": 181,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183262193"
    },
    {
      "job": 77580300996,
      "time": 109,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183268632"
    },
    {
      "job": 77580300992,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183274883"
    },
    {
      "job": 77580101779,
      "time": 226,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183243030"
    },
    {
      "job": 77580300983,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183253950"
    },
    {
      "job": 77580300988,
      "time": 198,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183263893"
    },
    {
      "job": 77580300994,
      "time": 158,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183259881"
    },
    {
      "job": 77580300995,
      "time": 173,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183261222"
    }
  ],
  "_buildurl": "https://github.com/r-universe/biometris/actions/runs/26355021730",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/biometris/douconca",
  "_commit": {
    "id": "b56e98d23c3c52d872a7a03fb150dd97196015b6",
    "author": "Bart-Jan van Rossum <bart-jan.vanrossum@wur.nl>",
    "committer": "Bart-Jan van Rossum <bart-jan.vanrossum@wur.nl>",
    "message": "Updated cran-comments\n",
    "time": 1771850892
  },
  "_maintainer": {
    "name": "Bart-Jan van Rossum",
    "email": "bart-jan.vanrossum@wur.nl",
    "login": "bartjanvanrossum",
    "description": "",
    "uuid": 28725410,
    "orcid": "0000-0002-8673-2514"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.1",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "permute",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "vegan",
      "version": ">= 2.6-8",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "biometris",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 3
    },
    {
      "week": "2026-09",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v.1.2.4",
      "date": "2025-10-14"
    },
    {
      "name": "v.1.2.5",
      "date": "2026-02-23"
    }
  ],
  "_topics": [
    "correspondence-analysis",
    "ecology",
    "ecology-modeling",
    "multi-environment",
    "multi-trait"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bartjanvanrossum",
      "count": 99,
      "uuid": 28725410
    },
    {
      "user": "cajoterbraak",
      "count": 89,
      "uuid": 12693502
    }
  ],
  "_userbio": {
    "uuid": 60092315,
    "type": "organization",
    "name": "Wageningen Universtiy & Research, Biometris",
    "description": "Biometris develops statistical and mathematical methods for the quantification of biological processes and processes in our living environment."
  },
  "_downloads": {
    "count": 213,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/douconca"
  },
  "_devurl": "https://github.com/biometris/douconca",
  "_searchresults": 7,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/douconca.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/biometris/douconca",
  "_realowner": "biometris",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.2.0",
      "date": "2024-09-13"
    },
    {
      "version": "1.2.1",
      "date": "2024-09-25"
    },
    {
      "version": "1.2.2",
      "date": "2024-12-02"
    },
    {
      "version": "1.2.3",
      "date": "2025-05-09"
    },
    {
      "version": "1.2.4",
      "date": "2025-10-14"
    },
    {
      "version": "1.2.5",
      "date": "2026-02-23"
    }
  ],
  "_exports": [
    "anova_sites",
    "anova_species",
    "cca0",
    "dc_CA",
    "fCWM_SNC",
    "fN2",
    "FS",
    "getPlotdata",
    "ipf2N2",
    "plot_dcCA_CWM_SNC",
    "plot_species_scores_bk",
    "scores",
    "wrda"
  ],
  "_datasets": [
    {
      "name": "dune_trait_env",
      "title": "Dune meadow data with plant species traits and environmental variables",
      "object": "dune_trait_env",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "anova_sites",
      "title": "Utility function: community-level permutation test in Double Constrained Correspondence Analysis (dc-CA)",
      "topics": [
        "anova_sites"
      ]
    },
    {
      "page": "anova_species",
      "title": "Utility function: Species-level Permutation Test in Double Constrained Correspondence Analysis (dc-CA)",
      "topics": [
        "anova_species"
      ]
    },
    {
      "page": "anova.cca0",
      "title": "Permutation Test for canonical correspondence analysis",
      "topics": [
        "anova.cca0"
      ]
    },
    {
      "page": "anova.dcca",
      "title": "Community- and Species-Level Permutation Test in Double Constrained Correspondence Analysis (dc-CA)",
      "topics": [
        "anova.dcca"
      ]
    },
    {
      "page": "anova.wrda",
      "title": "Permutation Test for weighted redundancy analysis",
      "topics": [
        "anova.wrda"
      ]
    },
    {
      "page": "cca0",
      "title": "Performs a canonical correspondence analysis",
      "topics": [
        "cca0"
      ]
    },
    {
      "page": "coef.dcca",
      "title": "Coefficients of double-constrained correspondence analysis (dc-CA)",
      "topics": [
        "coef.dcca"
      ]
    },
    {
      "page": "dc_CA",
      "title": "Performs (weighted) double constrained correspondence analysis (dc-CA)",
      "topics": [
        "dc_CA"
      ]
    },
    {
      "page": "dune_trait_env",
      "title": "Dune meadow data with plant species traits and environmental variables",
      "topics": [
        "dune_trait_env"
      ]
    },
    {
      "page": "fCWM_SNC",
      "title": "Calculate community weighted means and species niche centroids for double constrained correspondence analysis",
      "topics": [
        "fCWM_SNC"
      ]
    },
    {
      "page": "fitted.dcca",
      "title": "Fitted values of double-constrained correspondence analysis (dc-CA)",
      "topics": [
        "fitted.dcca"
      ]
    },
    {
      "page": "fN2",
      "title": "Hill number of order 2: N2",
      "topics": [
        "fN2"
      ]
    },
    {
      "page": "FS",
      "title": "Default forward selection function.",
      "topics": [
        "FS"
      ]
    },
    {
      "page": "FS.dcca",
      "title": "Forward selection of traits or environmental variables using dc-CA.",
      "topics": [
        "FS.dcca"
      ]
    },
    {
      "page": "FS.wrda",
      "title": "Forward selection of predictor variables using wrda or cca0",
      "topics": [
        "FS.wrda"
      ]
    },
    {
      "page": "getPlotdata",
      "title": "Utility function: extracting data from a 'dc_CA' object for plotting a single axis by your own code or 'plot.dcca'.",
      "topics": [
        "getPlotdata"
      ]
    },
    {
      "page": "ipf2N2",
      "title": "Iterative proportional fitting of an abundance table to Hill-N2 marginals",
      "topics": [
        "ipf2N2"
      ]
    },
    {
      "page": "plot_dcCA_CWM_SNC",
      "title": "Plot the CWMs and SNCs of a single dc-CA axis.",
      "topics": [
        "plot_dcCA_CWM_SNC"
      ]
    },
    {
      "page": "plot_species_scores_bk",
      "title": "Vertical ggplot2 line plot of ordination scores",
      "topics": [
        "plot_species_scores_bk"
      ]
    },
    {
      "page": "plot.dcca",
      "title": "Plot a single dc-CA axis with CWMs, SNCs, trait and environment scores.",
      "topics": [
        "plot.dcca"
      ]
    },
    {
      "page": "predict.dcca",
      "title": "Prediction for double-constrained correspondence analysis (dc-CA)",
      "topics": [
        "predict.dcca"
      ]
    },
    {
      "page": "predict.wrda",
      "title": "Prediction from cca0 and wrda models",
      "topics": [
        "predict.wrda"
      ]
    },
    {
      "page": "print.dcca",
      "title": "Print a summary of a dc-CA object.",
      "topics": [
        "print.dcca"
      ]
    },
    {
      "page": "print.wrda",
      "title": "Print a summary of a wrda or cca0 object",
      "topics": [
        "print.wrda"
      ]
    },
    {
      "page": "scores.dcca",
      "title": "Extract results of a double constrained correspondence analysis (dc-CA)",
      "topics": [
        "scores.dcca"
      ]
    },
    {
      "page": "scores.wrda",
      "title": "Extract results of a weighted redundancy analysis (wrda) or a cca0 object.",
      "topics": [
        "scores.wrda"
      ]
    },
    {
      "page": "wrda",
      "title": "Performs a weighted redundancy analysis",
      "topics": [
        "wrda"
      ]
    }
  ],
  "_readme": "https://github.com/biometris/douconca/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cluster",
    "cpp11",
    "farver",
    "ggplot2",
    "ggrepel",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "MASS",
    "Matrix",
    "mgcv",
    "nlme",
    "permute",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "vegan",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "douconca.Rmd",
      "filename": "douconca.html",
      "title": "douconca",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The douconca package",
        "Double constained correspondence analysis",
        "Example data and questions",
        "Basic analysis",
        "Statistical testing",
        "Fitted values and predictions",
        "Which set of traits is most closely related to abundance and to the environment?",
        "Do the morphological traits contribute after accounting for the ecological traits?",
        "One trait: CWM regression without inflated type I error.",
        "Introduction",
        "Testing the relationship between LDMC and the environmental variables",
        "The coefficients of a CWM-regression are proportional to those of dc-CA",
        "Restrictions on names of variables and levels of factors",
        "References"
      ],
      "created": "2024-07-05 14:31:45",
      "modified": "2026-02-23 09:25:22",
      "commits": 12
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "douconca",
  "_universes": [
    "biometris",
    "bartjanvanrossum"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-05-24T07:27:08.000Z",
      "distro": "noble",
      "commit": "b56e98d23c3c52d872a7a03fb150dd97196015b6",
      "fileid": "476234a8a72b2ee577958a9a69138dc741f128c89985ad1c6ae9da5c6d1e56fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/biometris/actions/runs/26355021730"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.5",
      "date": "2026-05-24T07:27:06.000Z",
      "distro": "noble",
      "commit": "b56e98d23c3c52d872a7a03fb150dd97196015b6",
      "fileid": "d095e05ccf1822407a86e3e120da0a31259756dda5ed45eb810e03f25342daee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/biometris/actions/runs/26355021730"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-05-24T07:28:43.000Z",
      "commit": "b56e98d23c3c52d872a7a03fb150dd97196015b6",
      "fileid": "0ac4ce8880ae4f3fbb0cea238bd8c69541e69c4623ceaefe83f0aa1bf79b2b7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/biometris/actions/runs/26355021730"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.5",
      "date": "2026-05-24T07:29:35.000Z",
      "commit": "b56e98d23c3c52d872a7a03fb150dd97196015b6",
      "fileid": "413d069aeca70a71538cebc7c06ca3309e2cc2f3bea0a1dc81a7ff8efe99e923",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/biometris/actions/runs/26355021730"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.5",
      "date": "2026-05-24T07:27:07.000Z",
      "commit": "b56e98d23c3c52d872a7a03fb150dd97196015b6",
      "fileid": "3e5dddb7678af0dac210fd38d8632aa188b17c240d3d4f4c53e74dd5a5dfbea1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/biometris/actions/runs/26355021730"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-05-24T07:27:04.000Z",
      "commit": "b56e98d23c3c52d872a7a03fb150dd97196015b6",
      "fileid": "00049fc94b3ed677cf48e624a42a755ef7a37d9da413c6561a64d7eb998df45c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/biometris/actions/runs/26355021730"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-05-24T07:26:31.000Z",
      "commit": "b56e98d23c3c52d872a7a03fb150dd97196015b6",
      "fileid": "c37d07ff7627ca78a9bc7ae0c009d19306716a3be002bbb0f7e171cd6ffba256",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/biometris/actions/runs/26355021730"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.5",
      "date": "2026-05-24T07:26:37.000Z",
      "commit": "b56e98d23c3c52d872a7a03fb150dd97196015b6",
      "fileid": "4a9a9e96c22161ae2d9bdd675eb76141a330c95f00c0ebc9904fe17a7bf93835",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/biometris/actions/runs/26355021730"
    }
  ]
}