| create_grf_config | R Documentation |
This file contains helper functions used by grf.subg.harm.survival() to improve readability and modularity. Create GRF configuration object
create_grf_config(
frac.tau,
n.min,
dmin.grf,
RCT,
sg.criterion,
maxdepth,
seedit
)
frac.tau |
Numeric. Fraction of tau for GRF horizon |
n.min |
Integer. Minimum subgroup size |
dmin.grf |
Numeric. Minimum difference in subgroup mean |
RCT |
Logical. Is the data from a randomized controlled trial? |
sg.criterion |
Character. Subgroup selection criterion |
maxdepth |
Integer. Maximum tree depth |
seedit |
Integer. Random seed |
Creates a configuration object to organize GRF parameters
List with configuration parameters
cfg <- create_grf_config(frac.tau = 0.6, n.min = 60, dmin.grf = 6,
RCT = TRUE, sg.criterion = "mDiff",
maxdepth = 2, seedit = 42L)
str(cfg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.