View source: R/tree-extract-BART.R
posterior_trees_BART | R Documentation |
Tibble grouped by iteration ('iter') and tree id ('tree_id'). All information calculated by method is included in output.
posterior_trees_BART(model, label_digits = 2)
model |
BART model. |
label_digits |
Rounding for labels. |
A tibble with columns to
Integer describing unique MCMC iteration.
Integer. Unique tree id with each 'iter'.
Integer describing node in tree. Unique to each 'tree'-'iter'.
Integer describing parent node in tree.
Label for the node.
Position in tree hierarchy.
Variable for split.
Numeric. Value of decision rule for 'var'.
Logical. 'TRUE' if leaf, 'FALSE' if stem.
Integer. Left child of node.
Integer. Right child of node.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.