modularity-rnetBasic: modularity.RnetBasic() - See igraph documentation for full...

Description Usage Arguments Value

Description

modularity.RnetBasic() - See igraph documentation for full documentation.

Usage

1
2
## S3 method for class 'rnetBasic'
modularity(x, membership, weights = NULL, ...)

Arguments

x

an

membership

Numeric vector, for each vertex it gives its community. The communities are numbered from one.

weights

If not NULL then a numeric vector giving edge weights.

...

Additional arguments, none currently

Value

A numeric scalar, the modularity score of the given configuration.


Rnets documentation built on July 23, 2019, 9:04 a.m.