semnetmeas: Semantic Network Measures

Description Usage Arguments Value Author(s) Examples

View source: R/semnetmeas.R

Description

Computes the average shortest path length (ASPL), clustering coefficient(CC), modularity (Q), small-worldness (S; defaults to "rand"), and mean network strength (MNS)

Usage

1
semnetmeas(A, iter, weighted = FALSE, swm = "rand")

Arguments

A

An adjacency matrix of network A

iter

Number of iterations for the small-worldness measure

weighted

Should weighted measures be computed? Defaults to FALSE. Set to TRUE for weighted measures

swm

Method for computing small-worldness. Defaults to "rand". See smallworldness for other options

Value

Returns a values for ASPL, CC, Q, and S

Author(s)

Alexander Christensen <[email protected]>

Examples

1
2
3
4
5
6
7
fin <- finalize(convmat)

cosL <- cosine(fin)

A <- NetworkToolbox::TMFG(cosL)$A

globmeas <- semnetmeas(A)

AlexChristensen/SemNetToolbox documentation built on Aug. 7, 2018, 6:02 p.m.