Description Usage Arguments Value Examples
Subtract the transpose and set negative elements to zero for a weighted adjacency matrix.
1 2 3 4 5 6 7 | netted_matrix(x)
## Default S3 method:
netted_matrix(x)
## S3 method for class 'unsumnet'
netted_matrix(x)
|
x |
A square numeric matrix or an object of class |
A numeric matrix with the positive elements of x-x' (or x$AW - x$AW'
for unsumnet
object) and zero for negative elements.
1 | netted_matrix(matrix(rnorm(25), nrow=5))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.