as_treenetdf.list {networkD3}R Documentation

Convert a nested list to treenetdf

Description

Convert a nested list to treenetdf

Usage

## S3 method for class '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.


[Package networkD3 version 0.4.1 Index]