scale_matrix | R Documentation |
Off-diagonal values are scaled by dividing them by the absolute value of
their corresponding diagonal element. The resulting scaled interaction strengths
are thus defined as: \bar{a_{ij}} = \frac{a_{ij}}{|a_{ii}|}
(Neutel and Thorne
2016).
scale_matrix(A, aii = 0)
A |
A Jacobian matrix, with non-zero diagonal elements |
aii |
determines the value of diagonal elements |
This does not work if there is a 0 on the diagonal ! Replace missing elements with replace_zeros() before scaling !.
The same Jacobian matrix with scaled interaction strengths and -1 on the diagonal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.