Description Usage Arguments Value Examples
View source: R/ClusterHierarchy-class.R
Works as a validation check for multiple issues user passed dataframe might have. For example, multiple root nodes, incompatible naming, multiple parents of a single node, etc This function performs all this checks and tries to resolve the issues by making changes in cluster assignment User can give either col_regex or columns option to filter the columns or specify the column order
1 | ClusterHierarchy(hierarchy, col_regex = NULL, columns = NULL)
|
hierarchy |
hierarchy as a dataFrame |
col_regex |
Regular Expression for choosing columns |
columns |
Vector containing list of columns to choose from with ordering |
'ClusterHierarchy“ return an object of class ClusterHierarchy containing cluster information that ensures a valid dataframe for treeviz input
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.