setNetworkAttributes: Set some default network attributes for pretty plotting

Description Usage Arguments Value

Description

The purpose of this function is to create some default network attribute options to plot networks in a nice and insightfull way.

Usage

1
2
setNetworkAttributes(g, size_attribute = "freq", color_attribute = NA,
  redo_layout = F)

Arguments

g

A graph in the Igraph format.

size_attribute

the name of the vertex attribute to be used to set the size of nodes

if

TRUE, isolates are placed next to the network

Value

a network in the Igraph format


kasperwelbers/semnet documentation built on May 20, 2019, 7:38 a.m.