View source: R/plotOptimalClustersTree.R
plotOptimalClustersTree | R Documentation |
plotOptimalClustersTree is a support function for plotting the hierarchical tree of optimal clusters from FindMaxHomoOptimalPartitions function.
The red node(s) are the optimal homogeneous clusters while the gray nodes are non-optimal clusters.
plotOptimalClustersTree(resObj)
resObj |
is an object list, which is the output of FindMaxHomoOptimalPartitions function |
No return value, called for plotting the hierarchical tree of optimal clusters.
# Running FindMaxHomoOptimalPartitions using simulation data DataT<-SimpleSimulation(100,type=1) obj<-FindMaxHomoOptimalPartitions(DataT,gamma=0.05) # Plotting the result plotOptimalClustersTree(obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.