CoOL_6_sub_groups | R Documentation |
Calculates presents a dendrogram coloured by the pre-defined number of sub-groups and provides the vector with sub-groups.
CoOL_6_sub_groups(risk_contributions, number_of_subgroups = 3, ipw = 1)
risk_contributions |
The risk contributions. |
number_of_subgroups |
The number of sub-groups chosen (Visual inspection is necessary). |
ipw |
a vector of weights per observation to allow for inverse probability of censoring weighting to correct for selection bias |
A vector [number of individuals] with an assigned sub-group.
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>
#See the example under CoOL_0_working_example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.