CoOL_9_visualised_mean_risk_contributions {CoOL} | R Documentation |
Visualisation of the mean risk contributions by sub-groups
Description
Visualisation of the mean risk contributions by sub-groups. The function uses the output
Usage
CoOL_9_visualised_mean_risk_contributions(
results,
sub_groups,
ipw = 1,
restore_par_options = TRUE
)
Arguments
results |
CoOL_8_mean_risk_contributions_by_sub_group. |
sub_groups |
The vector with the sub-groups. |
ipw |
a vector of weights per observation to allow for inverse probability of censoring weighting to correct for selection bias |
restore_par_options |
Restore par options. |
References
Rieckmann, Dworzynski, Arras, Lapuschkin, Samek, Arah, Rod, Ekstrom. 2022. Causes of outcome learning: A causal inference-inspired machine learning approach to disentangling common combinations of potential causes of a health outcome. International Journal of Epidemiology <https://doi.org/10.1093/ije/dyac078>
Examples
#See the example under CoOL_0_working_example
[Package CoOL version 1.1.2 Index]