Creates visualisations of all paths through the binary trees that constitute a random forest. Currently two types of visualisations are produced: parallel coordinates plots and Sankey diagrams. To create these visualisations supply the output of randomForest
to rf_pathfinder
then supply the output of rf_pathfinder
to either rf_parcoor
to produce a parallel coordinates style plot or rf_sankey
to produce the network for a Sankey diagram. To display the Sankey diagram you need to supply the output of rf_sankey
to the sankeyNetwork
function from the networkD3
package. The examples on the help page for rf_sankey
demonstate this process. A preprint of the manuscript that introduces the visualisation methods this package implements may be obtained from arXiv at https://arxiv.org/abs/1706.08702. To cite forestviews
in publications please use the citation for the associated article returned by citation('forestviews')
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.