| CoOL_6_dendrogram | R Documentation | 
Calculates presents a dendrogram coloured by the pre-defined number of sub-groups and provides the vector with sub-groups.
CoOL_6_dendrogram( risk_contributions, number_of_subgroups = 3, title = "Dendrogram", colours = NA, ipw = 1 )
| risk_contributions | The risk contributions. | 
| number_of_subgroups | The number of sub-groups chosen (Visual inspection is necessary). | 
| title | The title of the plot. | 
| colours | Colours indicating each sub-group. | 
| ipw | a vector of weights per observation to allow for inverse probability of censoring weighting to correct for selection bias | 
A dendrogram illustrating similarities between individuals based on their risk contributions.
#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.