‘visTree’, a tree loved by all!

infoart.ca
Oct 26, 2021

--

Photo by Matt Artz on Unsplash

The visTree package offers a means of visually representing the subgroups created by a decision tree. Each unique terminal node identified by the decision tree is represented as a separate subplot within the visualization.

All we need is a few packages:

library(visTree)library(visNetwork)library(shinyWidgets)

and a one-line input:

net <- visTreeEditor(data=df)

to get a sleek output…

--

--

infoart.ca
infoart.ca

Written by infoart.ca

Center for Social Capital & Environmental Research | Posts by Bishwajit Ghose, BI consultant and lecturer at the University of Ottawa

No responses yet