R: Matrix multiplication

matmult.syncsa {SYNCSA} | R Documentation

## Matrix multiplication

### Description

Internal function to get the matrix product when missing data (NA) is found in matrix Y.

### Usage

    matmult.syncsa(X, Y)

### Arguments

`X` | A matrix, typically the standardized community matrix (W).
`Y` | A matrix.

### Details

The function ignore missing data when found in matrix Y. Before multiplication of matrices the missing data in Y are replaced by 0 and multiplication is performed, and then, an adjustment is performed. This adjustment is done by divide each cell of the product matrix by the sum of proportions of nonzero at X with complete data in Y. In SYNCSA context this adjustment is done by divide each cell of the product matrix by the sum of species proportion with trait data in Y. Important, the matrix X must be standardized, in other words, row totals must be equal to 1.

### Value

The matrix product.

### Author(s)

Vanderlei Julio Debastiani <vanderleidebastiani@yahoo.com.br>

### See Also

`syncsa`, `matmult`,

[Package SYNCSA version 1.3.4 Index]