| compute_node_metrics | R Documentation |
Aggregates scores by leaf node and calculates treatment effect differences
compute_node_metrics(data, dr.scores, tree, X, n.min)
data |
Data frame. Original data |
dr.scores |
Matrix. Doubly robust scores |
tree |
Policy tree object |
X |
Matrix. Covariate matrix |
n.min |
Integer. Minimum subgroup size |
Data frame with node metrics
## Not run:
# compute_node_metrics() is called internally by grf.subg.harm.survival().
# See grf.subg.harm.survival() for the standard entry point.
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.