This adds a diagnostic to the outcome model.
add_outcome_diagnostic(hte_cfg, diag)
HTE_cfg
object to update.
Character indicating the name of the diagnostic
to include. Possible values are "MSE"
, "RROC"
and, for
SuperLearner
ensembles, "SL_risk"
and "SL_coefs"
.
Updated HTE_cfg
object
library("dplyr")
basic_config() %>%
add_outcome_diagnostic("RROC") -> hte_cfg