communitySubnetwork: Subset a network by community

Description Usage Arguments Value Examples

Description

A function that allows a user to extract a docNetwork from a larger docNetwork .

Usage

1
communitySubnetwork(dnet, community, method = "internal")

Arguments

dnet

The docNetwork object to modify.

community

Integer. The membership number of the community you want data about.

method

Either "all" or "internal". If "all", results will include all books attributed to all members of the community. If "internal", results will include only books that are attributed to two or more members of the community.

Value

dnet A subsetted docNetwork for all nodes in a community.

Examples

1
2
data(dnet)
subnet = communitySubnetwork(dnet, community = 3, method = "all")

michaelgavin/htn documentation built on May 22, 2019, 9:50 p.m.