PrintOptimalClustersResult {MRReg}R Documentation

PrintOptimalClustersResult

Description

PrintOptimalClustersResult is a support function for printing the optimal clusters from FindMaxHomoOptimalPartitions function.

Usage

PrintOptimalClustersResult(resObj, selFeature = FALSE)

Arguments

resObj

is an object list, which is the output of FindMaxHomoOptimalPartitions function

selFeature

is a flag. If it is true, then the function shows the selected feature(s) of each optimal cluster.

Value

No return value, called for printing optimal clusters.

Examples

# Running FindMaxHomoOptimalPartitions using simulation data
DataT<-SimpleSimulation(100,type=1)
obj<-FindMaxHomoOptimalPartitions(DataT,gamma=0.05)
# Printing the result
PrintOptimalClustersResult(obj)


[Package MRReg version 0.1.5 Index]