Description Usage Arguments Details Value
'comp_std_residuals' computes the standard Residuals matrix S, which is the basis for correspondence analysis and serves as input for singular value decomposition.
1 | comp_std_residuals(mat)
|
mat |
A numerical matrix or coercible to one by 'as.matrix()'. Should have row and column names. |
Calculates standardized residual matrix S from the proportions matrix P and the expected values E according to S = \frac{(P-E)}{sqrt(E)}.
A named list with standard residual matrix "S", grand total of the original matrix "tot" as well as row and column masses "rowm" and "colm" respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.