Creates a tree plot of a spline tree. This corresponds to plotting only the first panel of stPlot(). Code for this function was borrowed from the longRPart package on github.
1 | splineTreePlot(model, colors = NULL)
|
model |
a model returned from splineTree() |
colors |
a list of colors that will be used for the terminal nodes (if NULL, will use a rainbow) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.