plot_coefficients {treeDA} | R Documentation |
Plot the discriminating axes from treeda
Description
Plots the leaf coefficients for the discriminating axes in a fitted
treeda
model aligned under the tree.
Usage
plot_coefficients(
out.treeda,
remove.bl = TRUE,
ladderize = TRUE,
tree.height = 2
)
Arguments
out.treeda |
The object resulting from a call to
|
remove.bl |
A logical, |
ladderize |
Layout parameter for the tree. |
tree.height |
The height of the tree relative to the height of the plot below. |
Value
A plot of the tree and the coefficients.
Examples
data(treeda_example)
out.treeda = treeda(response = treeda_example$response,
predictors = treeda_example$predictors,
tree = treeda_example$tree,
p = 1)
plot_coefficients(out.treeda)
[Package treeDA version 0.0.5 Index]