| grf.subg.eval | R Documentation |
Evaluates the performance of GRF-identified subgroups, including hazard ratios, bias, and predictive values. This function is typically used in simulation studies to assess the performance of the GRF subgroup identification method.
grf.subg.eval(
df,
grf.est,
dgm,
cox.formula.sim,
cox.formula.adj.sim,
analysis = "GRF",
frac.tau = 1
)
df |
Data frame containing the analysis data. |
grf.est |
List. Output from |
dgm |
List. Data-generating mechanism (truth) for simulation. |
cox.formula.sim |
Formula for unadjusted Cox model. |
cox.formula.adj.sim |
Formula for adjusted Cox model. |
analysis |
Character. Analysis label (default: "GRF"). |
frac.tau |
Numeric. Fraction of tau for GRF horizon (default: 1.0). |
A data frame with evaluation metrics.
## Not run:
# grf.subg.eval() is called internally to evaluate GRF subgroup quality.
# 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.