Description Usage Arguments Value Examples
View source: R/plotting-functions.R
Plots the leaf coefficients for the discriminating axes in a fitted
treeda
model aligned under the tree.
1 2 3 4 5 6 | plot_coefficients(
out.treeda,
remove.bl = TRUE,
ladderize = TRUE,
tree.height = 2
)
|
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. |
A plot of the tree and the coefficients.
1 2 3 4 5 6 | data(treeda_example)
out.treeda = treeda(response = treeda_example$response,
predictors = treeda_example$predictors,
tree = treeda_example$tree,
p = 1)
plot_coefficients(out.treeda)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.