corAxis | R Documentation |
Calculates the Pearson product-moment correlation coefficient for the site scores of ordination axes.
corAxis(x, ...)
## Default S3 method:
corAxis(x, ...)
## S3 method for class 'symcoca'
corAxis(x, axes = NULL, ...)
x |
an ordination object. Only methods for objects of class
|
axes |
numeric; the number of axes to calculate the correlation
coefficients for. If |
... |
arguments to be passed on to other methods. |
A named vector containing the correlation coefficients for the requested axes.
The arguments for cor
are hard coded at their
defaults, see cor
for details. A more flexible version
is planned that will allow arguments to be passed to cor
.
Gavin L. Simpson
cor
, for the main analysis function.
## load some data
data(beetles)
data(plants)
## log transform the beetle data
beetles <- log(beetles + 1)
## symmetric Co-CA model
beetles.sym <- coca(beetles ~ ., data = plants, method = "symmetric")
## correlations between axes
corAxis(beetles.sym)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.