drop0_killdiag {motifcluster} | R Documentation |
Set diagonal entries to zero and sparsify
Description
Set the diagonal entries of a matrix to zero and convert it to sparse form.
Usage
drop0_killdiag(some_mat)
Arguments
some_mat |
A square matrix. |
Value
A sparse-form copy of some_mat
with its
diagonal entries set to zero.
[Package motifcluster version 0.2.3 Index]