treeNetwork: Create collapsible tree network diagrams.

Description Usage Arguments

Description

Create collapsible tree network diagrams.

Usage

1
2
3
treeNetwork(data, width = NULL, height = NULL, treeType = "tidy",
  direction = "right", linkType = "diagonal", defaults = NULL,
  mouseover = "", mouseout = "", inbrowser = FALSE, ...)

Arguments

data

a tree network description in one of numerous forms (see details)

width

numeric width for the network graph's frame area in pixels

height

height for the network graph's frame area in pixels

treeType

character specifying the tree layout type. Options are 'tidy' and 'cluster'.

direction

character specifying the direction in which the tree layout shoud grow. One of 'right', 'left', 'down', 'up', or 'radial'

linkType

character specifying the link type between points. Options are 'elbow' and 'diagonal'.

defaults

named character vector specifying custom default node and link formatting options

mouseover

character specifying JavaScript code to be run on mouseover events

mouseout

character specifying JavaScript code to be run on mouseout events

inbrowser

logical specifying to open the plot in a new browser window

...

other arguments that will be passed on to as_treenetdf


christophergandrud/networkD3 documentation built on May 13, 2019, 7:02 p.m.