knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) options(width = "100")
This R package creates tree widgets using the JavaScript library jsTree, e.g., in Shiny. The jsTree library has been included. shinytree is built on top of Bootstrap and supports jQuery.NiceScroll. Please be aware that this R package is a more lightweight alternative to shinyTree and thus does not implement methods to create or convert trees or tree-like structures.
If search
is added as a plugin, two additional functions are automatically activated: one button to select search results; another one to reset the tree, i.e., collapse all opened leaves and remove a currently active search.
You can install the development version of shinytree from GitHub:
# install.packages("devtools") devtools::install_github("stefanieschneider/shinytree")
Please report issues, feature requests, and questions to the GitHub issue tracker. We have a Contributor Code of Conduct. By participating in shinytree you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.