Description Usage Arguments Value Examples
Utilizing work from Andie de Vries's function
dendro_data.tree
from the ggdendro package
which is used in the dfCompile
to create a list of data frames.
1 2 3 |
x |
an object of class |
type |
character string. If "uniform", the branches are of uniform length (only shows depth). Otherwise they are proportional to the decrease in impurity. |
split.labels |
if TRUE (the default), non-leaf nodes are labeled with splitting rule |
leaf.labels |
if TRUE, leaves are labeled with predicted value (the default is FALSE). |
text.size |
integer size for |
... |
extra attributes (currently not used) |
show.plot |
logic to display the graphics (group of graphics in this case) |
return |
logic to return list of graphics and the data frame to make the majority of graphics |
depending on show.plot
and return
it
will return the visualization of the graphic and/or a list
of both the list of data frames used the make the graphic and the
individual graphic object.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.