View source: R/utils_helpers.R
df2list | R Documentation |
Transform a dataframe to the shape required by shinyTree().
df2list(df, title = NA)
title |
name of the first item, closed. Optionnal, if it is not used, the first items of the tree will be shown |
dtf |
a dataframe. Each column represent a hierarchical level of the tree to be built |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.