plotOptimalClustersTree {MRReg} | R Documentation |
plotOptimalClustersTree
Description
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.
Usage
plotOptimalClustersTree(resObj)
Arguments
resObj |
is an object list, which is the output of FindMaxHomoOptimalPartitions function |
Value
No return value, called for plotting the hierarchical tree of optimal clusters.
Examples
# Running FindMaxHomoOptimalPartitions using simulation data
DataT<-SimpleSimulation(100,type=1)
obj<-FindMaxHomoOptimalPartitions(DataT,gamma=0.05)
# Plotting the result
plotOptimalClustersTree(obj)
[Package MRReg version 0.1.5 Index]