Learn R Programming

D3partitionR (version 0.5.0)

add_nodes_data: Add informations (for instance new names, colors, ....) to the nodes of a D3_partitionR object

Description

Add informations (for instance new names, colors, ....) to the nodes of a D3_partitionR object

Usage

add_nodes_data(D3partitionR_object, nodes_data)

Arguments

D3partitionR_object

The D3partitionR object to which the data should be appended

nodes_data

a names list where the name of each element is the name of a node. The data will be appended to the node in the nested list

Value

The D3partitionR object with the appended nodes data