netted_matrix: Calculate the netted matrix

Description Usage Arguments Value Examples

Description

Subtract the transpose and set negative elements to zero for a weighted adjacency matrix.

Usage

1
2
3
4
5
6
7
netted_matrix(x)

## Default S3 method:
netted_matrix(x)

## S3 method for class 'unsumnet'
netted_matrix(x)

Arguments

x

A square numeric matrix or an object of class unsumnet

Value

A numeric matrix with the positive elements of x-x' (or x$AW - x$AW' for unsumnet object) and zero for negative elements.

Examples

1

dougmet/unsumnet documentation built on May 15, 2019, 10:44 a.m.