Description Usage Arguments Value Examples
View source: R/print_tree_rules.R
returns a named vector, the names being the terminal node id in the tree and the values being the classification it corresponds to
1 | get_cluster_mapping(tree)
|
tree |
a partykit::ctree fit |
a named vector
1 2 | my_tree <- fit_ctree(small_5050_mix, c('CKB', 'ADA', 'ASNS', 'PRDX6', 'MZB1'))
get_cluster_mapping(my_tree)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.