signedModularity-matrix: signedModularity for class(x) = 'matrix'

Description Usage Arguments

Description

signedModularity for class(x) = 'matrix'

Usage

1
2
## S4 method for signature 'matrix'
signedModularity(x, membership, weight = NULL)

Arguments

x

A weighed adjacency matrix

membership

Defines vertex membership to determine if vertices are similar. May be provided as a string that matches an attribute of x or a vector of length equal to the number of vertices in the graph.

weight

Edge weights. Like 'membership', this argument can be defined as a string matching an edge attribute of 'x' or a vector of length equal to the number of edges, but may also be left as NULL which will return an unweighted modularity estimate.


EpidemiologyDVM/Rnets documentation built on Dec. 8, 2017, 12:27 a.m.