Learn R Programming

shinyTree (version 0.3.1)

updateTree: Update the tree with new data

Description

Extract the nodes from the tree that are selected in a more convenient format. You can choose which format you prefer.

Usage

updateTree(session, treeId, data = NULL)

Arguments

session

The current session variable.

treeId

The identifier for the shinyTree object

data

JSON data or nested list representing the new tree structure.