Create data.frame with predictions for each node
get_predictions(party_object, ids, newdata_fun, predict_arg = NULL)object of class party
Id's to plot. Numeric, "terminal", "inner" or "all". MUST be identical
to ids of geom_node_plot() used to plot this data.
function which takes data of node and returns newdata
for predict()
list of additional arguments passed to predict()