PrintOptimalClustersResult: PrintOptimalClustersResult

View source: R/FindMaxHomoOptimalPartitions.R

PrintOptimalClustersResultR 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)


DarkEyes/MRReg documentation built on Aug. 24, 2022, 5:47 p.m.