Swaps the left and right branch at a specified level of a dendrogram.
An hierarchical clustering object as produced by hclust.
The level to be swapped.
Returns an hclust object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.