Description Usage Arguments Value
View source: R/measures_for_abundance_matrices.R
Calculates covariance or correlation matrix from a community abundance or incidence matrix where species are rows and sites are columns. Note: Before the calculation, species (rows) with zero occurrences, and sites (columns) with zero species are removed from m.
1 | CA_cov_cor(m, transf = NULL, correlation = TRUE, method = "pearson")
|
m |
Community data matrix with species as rows and sites as columns. Can contain either incidences (1/0) or abundances (natural numbers). |
transf |
A transformation function to be applied to the community matrix. The default is no transformation. Other options from 'vegan' function 'decostand' are applicable. |
correlation |
Should correlations be returned (TRUE) or covariances (FALSE). |
method |
One of 'peason' (default), 'kendall', or 'spearman'. is the default. |
A dist object with the pairwise association values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.