plot method for party objects with
extended facilities for plugging in panel functions.
"plot"(x, main = NULL, terminal_panel = node_terminal, tp_args = list(), inner_panel = node_inner, ip_args = list(), edge_panel = edge_simple, ep_args = list(), drop_terminal = FALSE, tnex = 1, newpage = TRUE, pop = TRUE, gp = gpar(), ...)
"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(), ...)
"plot"(x, digits = getOption("digits") - 4, tp_args = NULL, ...)party or constparty.extended tries to visualize the distribution of the
response variable in each terminal node whereas simple
only gives some summary information.function(node) plotting the terminal nodes.
Alternatively, a panel generating function of class
"grapcon_generator" that is called with arguments
x and tp_args to set up a panel function.
By default, an appropriate panel function is chosen
depending on the scale of the dependent variable.terminal_panel if this
is a "grapcon_generator" object.function(node) plotting the inner nodes.
Alternatively, a panel generating function of class
"grapcon_generator" that is called with arguments
x and ip_args to set up a panel function.inner_panel if this
is a "grapcon_generator" object.function(split, ordered = FALSE, left = TRUE)
plotting the edges.
Alternatively, a panel generating function of class
"grapcon_generator" that is called with arguments
x and ip_args to set up a panel function.edge_panel if this
is a "grapcon_generator" object.grid.newpage() should be called. plot method for party objects provides an
extensible framework for the visualization of binary regression trees. The
user is allowed to specify panel functions for plotting terminal and inner
nodes as well as the corresponding edges. Panel functions for plotting
inner nodes, edges and terminal nodes are available for the most important
cases and can serve as the basis for user-supplied extensions, see
node_inner. More details on the ideas and concepts of panel-generating functions and
"grapcon_generator" objects in general can be found in Meyer, Zeileis
and Hornik (2005).
node_inner, node_terminal, edge_simple,
node_barplot, node_boxplot.