Learn R Programming

networkD3 (version 0.4.1)

as_treenetdf.list: Convert a nested list to treenetdf

Description

Convert a nested list to treenetdf

Usage

# S3 method for list
as_treenetdf(data, children_name = "children", node_name = "name", ...)

Arguments

data

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

children_name

character specifying the name used for the list element that contains the childeren elements.

node_name

character specifying the name used for the list element that contains the name of the node

...

arguments to pass to methods.