Description Usage Arguments Value Examples
Get coordinates of a cluster (node) on tree
1 | get_cluster_locations(mytree, leaves = FALSE)
|
mytree |
a classification tree |
leaves |
if TRUE, also returns the location of the 2 leaves |
a data frames with coordinates of nodes -(xclust,yclust)-, and, if leaves is set to TRUE, coordinates of leaves -(x1,y1), (x2,y2)-
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.