communityIndex: Get index of documents from a community

Description Usage Arguments Value Examples

Description

A function that allows a user to extract bibliographic data from communities within a larger network graph. Returns a subset of the index that shows which documents make up a selected community.

Usage

1
communityIndex(dnet, community = NULL, 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

df A subset of dnet's index for all nodes in a community.

Examples

1
2
data(dnet)
df = communityIndex(dnet, community = 3, method = "all")

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