fitCoinertia | R Documentation |
Performs a co-inertia of the triplets (Q_1,K_1,R_0)
and
(Q_2,K_2,R_0)
.
fitCoinertia(X, Dp, Y, Dq, Dn, n.axes)
## S3 method for class 'fitCoinertia'
summary(object, ...)
X |
|
Dp |
|
Y |
|
Dq |
|
Dn |
site weights |
n.axes |
number of axes to calculate the co-inertia analysis for. |
object |
an object of class |
axes |
the number of axes to display when printing. |
... |
arguments passed to other functions. Currently ignored. |
A list with the following components:
U1 |
column weights of |
U2 |
column weights of |
X1 |
rowscores of |
X2 |
rowscores of |
lambda |
the Eigenvalues (squares of the singular values). |
n.axes |
number of axes requested. |
call |
the matched function call. |
This function is not yet meant to be called directly by the
user. If you wish to use it directly, see the function definition for
symcoca
which demonstrates how to prepare the
relevant input matrices.
Note that in this function, X
corresponds to the input
matrix y
and Y
corresponds to the
input matrix x
in symcoca
.
Confusing! This will be changed in a future release but for now the
arguments follow those of the original Matlab code - perhaps a little
too closely!
Original Matlab code by C.J.F. ter Braak and A.P. Schaffers. R port by Gavin L. Simpson.
Ter Braak, C.J.F and Schaffers, A.P. (2004) Co-Correspondence Analysis: a new ordination method to relate two community compositions. Ecology 85(3), 834–846
Doledec, S and Chessel, D. (1994) Co-inertia analysis: a method for studying species-environment relationships. Freshwater Biology 31, 277–294
symcoca
for the function that calls
fitCoinertia
and coinertiaI
for co-inertia analysis
using identity matrices for K_1
, K_2
, and R_0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.