Description Usage Arguments Value Examples
Find clusters in Statistically Validated Networks
1 | SVN_clusters(links, cluster.method = "infomap")
|
links |
an object obtained from the SVN_links function |
cluster.method |
a string, either "infomap" or "louvain", that selects the clustering method |
an igraph communities object
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | M=matrix(rbinom(200,size = 1,0.5),nrow=50)
mylinks=SVN_links(M)
# no links, then
print(mylinks)
# another example
x=c(1,0,0,0,0,0,1,1,1,1,0,0)
xx=c(1,1,0,0,0,0,1,1,1,1,0,0)
xrev=rev(x)
w=sample(x,length(x))
M=rbind(x,xx,xrev,w)
mylinks=SVN_links(M)
## if one wants clusters as well
myclusters=SVN_clusters(mylinks)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.