View source: R/prtree_main_methods.R
| plot_tree | R Documentation |
Draws a tree representation of a fitted PRTree model with root at top. Terminal nodes show gamma coefficients and a mini heatmap of the distribution of the corresponding column of the probability matrix P.
plot_tree(x, heatmap_width = 0.8, heatmap_height = 0.08, max_bins = 6,
...)
x |
An object of class |
heatmap_width |
Numeric. Width of heatmaps as fraction of node spacing. Default = 0.8 (80% of spacing). |
heatmap_height |
Numeric. Height of heatmaps. Default = 0.08. |
max_bins |
Integer. Maximum number of bins in the heatmap. Default = 6. |
... |
Further arguments passed to plot. |
Invisibly returns the original object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.