layout_community: Function used to layout each sub community as the same layout

Description Usage Arguments Value

View source: R/layout_community.R

Description

Function used to layout each sub community as the same layout

Usage

1
layout_community(graph, community_algorithm, layout_desired)

Arguments

graph

A igraph object

community_algorithm

the algorithm used to detect the community

layout_desired

the layout for each sub community

algorithm

A character name for the community detection method

layout

A character name for the layout function you use

Value

A data frame with four columns, the vertex label, the membership of each node, two columns of the coordinates


zlfccnu/econophysics documentation built on Feb. 23, 2022, 10:22 p.m.