View source: R/geom_node_plot.R
get_predictions | R Documentation |
Create data.frame with predictions for each node
get_predictions(party_object, ids, newdata_fun, predict_arg = NULL)
party_object |
object of class 'party' |
ids |
Id's to plot. Numeric, "terminal", "inner" or "all". MUST be identical to 'ids' of [geom_node_plot()] used to plot this data. |
newdata_fun |
function which takes 'data' of node and returns 'newdata' for 'predict()' |
predict_arg |
list of additional arguments passed to [predict()] |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.