semnetmeas | R Documentation |
Computes the average shortest path length (ASPL), clustering coefficient(CC), and modularity (Q) of the network
semnetmeas(A, meas = c("ASPL", "CC", "Q"), weighted = FALSE)
A |
Matrix or data frame. An adjacency matrix of a network |
meas |
Character. Global network measures to compute. By default, computes ASPL, CC, and Q. Individual measures can be selected |
weighted |
Boolean.
Should weighted measures be computed?
Defaults to |
Returns a values for ASPL, CC, and Q
Alexander Christensen <alexpaulchristensen@gmail.com>
# Simulate Datasets
one <- sim.fluency(10)
# Compute similarity matrix
cos <- similarity(one, method = "cosine")
# Compute networks
net <- TMFG(cos)
# Compute global network measures
globmeas <- semnetmeas(net)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.