Learn R Programming

⚠️There's a newer version (0.4-6) of this package.Take me there.

Co-correspondence analysis with R

cocorresp fits symmetric and predictive co-correspondence analysis (CoCA) models in R. CoCA relates two community matrices together in the same way that CCA relates a community matrix and a matrix of environmental or other predictor variables.

Summary

Fits predictive and symmetric co-correspondence analysis (CoCA) models to relate one data matrix to another data matrix. More specifically, CoCA maximises the weighted covariance between the weighted averaged species scores of one community and the weighted averaged species scores of another community. CoCA attempts to find patterns that are common to both communities.

The main interface function is coca which accepts a formula or two community data matrices. An appropriate formula is Y ~ ., data = X and the associated data object from which . will be looked up. The method argument is used to select from the two forms of CoCA:

  1. method = "predictive" for predictive CoCA (the default), and
  2. method = "symmetric" for symmetric CoCA.

cocorresp is based on original Matlab routines by C.J.F. ter Braak and A.P. Schaffers. The R port was by Gavin L. Simpson. Function cocorresp::simpls() is largely based on simpls.fit() from the pls package of Ron Wehrens and Bjorn-Helge Mevik.

Installation

cocorresp is available from CRAN; install the latest release using

install.packages("cocorresp")

To install the development version, use the remotes package (you may need to install remotes first)

remotes::install_github("gavinsimpson/cocorresp")

Copy Link

Version

Install

install.packages('cocorresp')

Monthly Downloads

736

Version

0.4-4

License

GPL-2

Maintainer

Gavin Simpson

Last Published

February 26th, 2024

Functions in cocorresp (0.4-4)

simpls

Modified version of Sijmen de Jong's SIMPLS
resid.symcoca

Extract Model Residuals
scaleChi

Standardised chi-square residuals
summary-methods

Summarizing Co-CA Model Fits
weights.symcoca

Exctract CoCA model weights
rescale

Rescales CoCA species scores
screeplot.symcoca

Screeplot for symmetric co-correspondence analysis
scores-methods

Get Species or Site Scores from an Ordination
bryophyte

Bryophytes and vascular plants in Carpathian spring meadows
cocorresp-package

Co-correspondence analysis ordination methods for community ecology
beetles

Carabid beetles and vascular plants in Dutch roadside verges
coinertiaI

Coinertia analysis with identity matrices
plot.symcoca

Plots for symmetric co-correspondence analysis
cocorresp-internal

Internal cocorresp Functions
coinertia

Co-inertia analysis
biplot-methods

Biplots of co-correspondence analysis models
corAxis

Correlation between ordination axes
fitted.symcoca

Fitted values of a Symmetric Co-Correpsondence analysis model.
points.coca

Add points to a Co-CA plot
plot.predcoca

Biplots for predictive co-correspondence analysis
envfit.coca

Fit an environmental vector or factor to a Co-CA ordination
fitCoinertia

Co-inertia analysis
crossval

Cross-validation for predictive Co-Correspondence Analysis models
permutest.coca

Permutation test for predictive co-correspondence analysis models
coca

Fit Co-Correspondence Analysis Ordination Models
loadings

CoCA species loadings
mcChi

Standardised chi-square residuals