term_node_pos: Determines terminal node position.
Description
Create node layout using a bottom-up approach (literally) and
overwrites ggparty-precomputed positions in plot_data.
Usage
term_node_pos(plot_data, dat)
Value
Dataframe with terminal node information.
Arguments
- plot_data
Dataframe output of `ggparty:::get_plot_data()`.
- dat
Dataframe of prediction values with scaled columns
and clustered samples.