plot.etree {etree} | R Documentation |
Visualization of Energy Trees
Description
Returns the plot of an object of class "etree"
.
Usage
## S3 method for class 'etree'
plot(
x,
main = NULL,
terminal_panel = NULL,
tp_args = list(),
inner_panel = node_inner,
ip_args = list(),
edge_panel = edge_simple,
ep_args = list(),
type = c("extended", "simple"),
drop_terminal = NULL,
tnex = NULL,
newpage = TRUE,
pop = TRUE,
gp = gpar(),
...
)
Arguments
x |
An object of class |
main |
Optional title for the plot. |
terminal_panel |
Optional panel function of the form
|
tp_args |
List of arguments passed to |
inner_panel |
Optional panel function of the form
|
ip_args |
List of arguments passed to |
edge_panel |
Optional panel function of the form
|
ep_args |
List of arguments passed to |
type |
Character specifying the complexity of the plot:
|
drop_terminal |
Logical indicating whether all terminal nodes should be plotted at the bottom. |
tnex |
Numeric value giving the terminal node extension in relation to the inner nodes. |
newpage |
Logical indicating whether |
pop |
Logical indicating whether the viewport tree should be popped before return. |
gp |
Graphical parameters. |
... |
Additional arguments. |
Details
The plot()
method for "etree"
objects allows for the
visualization of fitted Energy Trees, as returned by
etree()
or as contained in the ensemble
element of a fitted Random Energy Forest.
Value
No return value, called for side effects (plotting the tree).