scale_diagonals {metasnf} | R Documentation |
Adjust the diagonals of a matrix
Description
Adjust the diagonals of a matrix to reduce contrast with off-diagonals during plotting.
Usage
scale_diagonals(matrix, method = "mean")
Arguments
matrix |
Matrix to rescale. |
method |
Method of rescaling. Can be:
|
Value
A "matrix" class object with rescaled diagonals.
[Package metasnf version 2.1.2 Index]