term_node_pos: Determines terminal node position.

Description Usage Arguments Value

View source: R/compute_tree.R

Description

Create node layout using a bottom-up approach (literally) and overwrites ggparty-precomputed positions in plot_data.

Usage

1
term_node_pos(plot_data, dat)

Arguments

plot_data

Dataframe output of 'ggparty:::get_plot_data()'.

dat

Dataframe of prediction values with scaled columns and clustered samples.

Value

Dataframe with terminal node information.


treeheatr documentation built on Nov. 20, 2020, 1:07 a.m.