scaleChi | R Documentation |
Scales a matrix, Y, to is standardised chi-square residuals (o -
e) / \sqrt{e}
(given K_n
and R_0
metrics derived from an external matrix Y_0
) so that further
analysis can be unweighted.
scaleChi(Y, Kn, R0, eps = 1e-06)
Y |
a matrix for which standardised chi-square residuals are to be calculated. |
Kn |
the column sums (K) of Y divided by sum(K). |
R0 |
row weights. |
eps |
a tolerance. |
Yr |
the matrix of standardised chi-squared residuals of Y. |
This function is not intended for casual use by users.
Gavin L. Simpson, based on Matlab code by C.J.F. ter Braak and A.P. Schaffers.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.