glayout: glayout

Description Usage Arguments Details Value Author(s)

View source: R/graphics.R

Description

add layout to graph

Usage

1
glayout(g, layout = layout.kamada.kawai, ...)

Arguments

g

an SIR graph

layout

a layout function from igraph

...

further parameters for the layout function

Details

this function adds x and y coordinate to nodes for plotting

Value

a modified SIR graph

Author(s)

Barry S Rowlingson


barryrowlingson/sirgraph documentation built on April 8, 2020, 7:19 p.m.