getCommunities: get Communities

Description Usage Arguments Value

View source: R/getCommunities.R

Description

This function imports a copurchase matrix, usually after filtering, and builds a graph and conducts community detection on the graph using the walktrap method. It then returns that walktrap object

Usage

1
getCommunities(copurchase.matrix)

Arguments

copurchase.matrix

a sparse nxn matrix connecting web domains by common users which will be turned into a graph for community detection

Value

community.walktrap An igraph object containing community definitions for each web domain


gallagherj2008/SWAT documentation built on May 28, 2019, 12:59 p.m.