| find_leaf_split | R Documentation |
Deprecated.
Returns only the single split immediately above leaf_node, rendered as
"var <= value". This is not a correct subgroup definition for a leaf
below depth 1: it drops the rest of the root-to-leaf path and mis-renders
right-turns (which are >, not <=). Use the path-based
.grf_build_subgroup_definition() instead, which
grf.subg.harm.survival() now calls internally. Retained (exported) only
for backward compatibility; it is no longer used inside the package and
will be removed in a future release.
find_leaf_split(tree, leaf_node)
tree |
Policy tree object |
leaf_node |
Integer. Leaf node identifier |
Character string with a single split expression, or NULL.
grf.subg.harm.survival for the standard entry point.
## Not run:
# Deprecated; grf.subg.harm.survival() builds the full path internally.
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.