calc_final_effect_mod_param.Rd
This function uses a decision tree estimator to regress the difference in expected outcomes of an exposure onto a covariate. Both the exposure and the covariate have been determined through data-adaptive methods. If no rules are found, a median split is applied.
calc_final_effect_mod_param(
tmle_fit_av,
tmle_fit_at,
exposure,
at,
av,
effect_m_name,
fold_k
)
TMLE results for the validation fold.
TMLE results for the training fold.
The identified exposure variable as a character
string.
Training dataset.
Validation dataset.
The name of the effect modifier variable as a character
string.
The fold in which the effect modification was found.